Can someone explain why I get this error when calling:
....
tempobject = (object)global_eng.Evaluate("print \"hello\"");
....
---
>>>print "hello"
unexpected token print at <string>:1
----
I've tried stepping thru:
public static object eval(ICallerContext context, string expression) {
return eval(context, expression, globals(context));
and I just don't understand why it doesn't return "hello"
Thanks.
--
Joseph
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com