How embarrassing. The exception kept saying unexpected token x, so I assumed
that x was the problem. Thanks for the quick reply!

 

Tim.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Thursday, May 03, 2007 10:16 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Persistent IronPython Environment

 

engine.Execute("print x");


Note the lowercase 'p' in print.

As they execute in the default module I would expect this to work.

Michael Foord
http://www.voidspace.org.uk/ironpython/index.shtml




 

Currently everything I have tried throws an exception since the first
statement isn't maintained within the engine. I've tried using
ParseInteractiveInput and can't seem to get that to work as desired either.
Any help would be greatly appreciated.

 

Tim.

 



  _____  



 
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
  

 

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to