FYI, if you only want to READ the global variable, you don't need to
do what I said below, but to write to it, you have to "declare" it as
a global before writing to it inside the function.
On Wed, Apr 4, 2012 at 9:40 PM, Slide wrote:
> The Test1 inside the function is not the same as the Test1 o
The Test1 inside the function is not the same as the Test1 outside the
function, you need to make the Test1 in the function a reference to
the global Test1 for the scope. Try this
def TestFunction()
global Test1
Test1 = 4
On Wed, Apr 4, 2012 at 9:38 PM, Bill wrote:
> I am having a proble
I am having a problem in ironpython 2.7.2.1 with executing a python
function that changes variables set in the scope via SetVariable. The
problem is these variables are never actually updated on the c# side
after the python function executes. Here is a couple different
examples, all of which don't