ET3D wrote:
> I'm using ScriptScope.SetVariable to set variables in C# for calling
> IronPython scripts. However, I can't find how to set a variable to None.
>
You should just be able to set it to null from C#.
Should have mentioned I tried this (scope.SetVariable("f", null);). It gives
a ArgumentNullException.
--
View this message in context:
http://www.nabble.com/How-do-I-SetVariable-to-None--tp24018839p24031784.html
Sent from the IronPython mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com