Global varname as type
Global varArray(nnn) as type
Global varname as type*length[,decimalPlaces]
Global varArray(nnn) as type*length[,decimalPlaces]
Description
Defines a variable that has a global definition; that is, it can be used in any code module in the entire program. This is the different than variables defined in a DIM statement that are only usable in the function or subroutine in which the DIM statement occurs. For more on DIM, see the DIM statement. The GLOBAL statement is normally used in your Startup Code.
Example
Global amount as Float
Global warehouseNames(25) as String