GLOBAL
Â
Allows creation and/or changing the value of a global script variable that is visible to all scripts of this application instance. If the variable does not exist, it will be created. If a variable by the same name already exists, it's value will be set to the new value.
Usage:Â global varname,varvalue
           or
global "varname,varvalue"
Note: 'varname' and 'varvalue' are separated by commas and must be enclosed by the delimiter (default is double quotes) if they contain spaces. Global variables are visible to all scripts. Changing the value of the variable in one script will be reflected in subsequent uses in another script. If you change the value of the variable in the second script, the first script will be able to pick up the changed value on subsequent uses. This allows you to share data between scripts.
Â
Â