MLA Specific Global Variables
There are 5 global variables that are shared between any running scripts. They will retain their values between scripts being run during the time MLA is running. The values are not retained between launches of the MLA application. The values of the variables are passed to the script when it is run, and then when the script finishes, the values are saved back to the application. As a result, you can not pass values between multiple scripts that are running at the same time.
The 5 variables which can be used like any other variable (they are string variables, but can be treated as integers if required) are called...
globalVarA
globalVarB
globalVarC
globalVarD
globalVarE
Example
globalVarA = globalVarA + 1
MessageDialog(globalVarA)
Every time you run the script, a dialog will appear with the value of globalVarA. It will be incremented every time you run the script.