Best method to pass variable between controls ?
Hi there,
I want to ask a question for the collective wisdom of the forum. I have a window which has multiple controls. The window and the various controls each have various scripts running inside them. Right now, when I need to pass one variable from one script to another, I basically have my first script save the value in an invisible numbercontrol and then have the second script read the value from the invisible numbercontrol.
It works but I would like to know if there is a more elegant way to define a global variable which gets used by different functions across multiple <script></script> blocks ?