Global variables remain active until you exit the application. Memory space for global variables is allocated when the application starts. Numeric global variables are initialized to zero, string global variables to empty, and boolean global variables to false. Typically, the form pre script on the main menu sets the initial values of the global variables.
You can reference global variables from any script by using the qualifier of globals after the name of the variable. The values of global variables can’t be stored directly in a file, but their values can be copied to fields that are stored in a table.