You can use engine.Globals["name"] = value
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Cosby
Sent: Thursday, August 17, 2006 5:34 PM
To: IronPython Users
Subject: [IronPython] PythonEngine.SetVariable
At
Now it has become:
PythonEngine.Globals["myVar"] = myVar;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon Cosby
Sent: Friday 18 August 2006 2:34
To: IronPython Users
Subject: [IronPython] PythonEngine.SetVariable
At
At one point, PythonEngine.SetVariable was replaced by PythonEngine.SetGlobal.
I don't find either of them in RC1. Why is this?
Jon
___
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Yes the hosting api has changed. It was documented in the beta9
release announcement:
http://lists.ironpython.com/pipermail/users-ironpython.com/2006-July/002808.html
But to paraphrase:
One of the most significant changes is the final updates to the
hosting API. The hosting APIs have removed t
Hi,
I am looking at RC1 and noticed that the PythonEngine.SetVariable method is not
present anymore. Has is been deprecated and if so what is the new equivalent to
expose .NET objects as variables via a hosted engine?
The last version I used to compile against was Beta6.
Cheers,
J-M
_