Global Variables
Global variables are defined in the DEFINE_VARIABLE section of any program module. For example,
A global variable is accessible throughout the module in which it is defined. Global variables retain their value for as long as the program runs. They may retain their value after powering down or reloading the system depending on the variable’s persistence attributes (VOLATILE and PERSISTENT).
The general form of a global variable definition is:
Note
Modules are reusable NetLinx sub-programs that can be inserted into the main program.