[Ironpython-users] scope get/set variable in python function

Slide slide.o.mix at gmail.com
Fri Jun 24 14:30:45 EDT 2016


Did you do what that email thread said and put global before the variable
inside the python function?

On Fri, Jun 24, 2016 at 10:49 AM <patatwork at gmx.de> wrote:

> Hey there,
>
> i have a problem which also was discussed here
> https://mail.python.org/pipermail/ironpython-users/2012-April/015886.html
>
> What i must do, and how i have to declare my variables, that i can change
> them in a script defined python function?
> In my application, the value could'nt be changed in a script defined
> python function.
>
> Thanks for your help!
> Pat
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> https://mail.python.org/mailman/listinfo/ironpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20160624/d7c2cadd/attachment.html>


More information about the Ironpython-users mailing list