I created a function call in my grammer and it's working great! However, I can't figure out how to define variables so they do not cause 'unknown symbol' errors. The only way that I have been able to get around the error is to put the variable
name in the Globals dictionary, i.e.
myEvaluator.Globals.Add( "Day", "Day" );
Any hints on what I'm missing?
Here is an example of one function:
DateDiff(Day, 07/07/2011, 07/14/2011) - this should return "7"