I have the following script:
string script = @"function1(a) { } function2(b) { function1(b); }"
and the following C# code: engine.Execute(script);
engine.Script.function1("blah");
I'm getting an exception on the engine.Script "function1 is not defined". What am I doing wrong?