sandyrepope
06-03-2007, 16:50
When a script has global variables will a child window have access to these variables?
Thanks
Sandy
ErosOlmi
06-03-2007, 19:16
Sandy,
global variables are available for the full execution of the script.
It means every function or sub of the script will have access to globals.
ATTENTION:
you can have a global variable and a local variable with the same name.
So for example you can have a global and local variables both named MyVar.
When execution is inside the function/sub, the local variable is taken.
Ciao
Eros