Understanding global blocks
Global symbols can be defined with the GLOBALS instruction
The GLOBALS
instruction can be used to declare variables, constants and types
for the whole program.
Important:
Defining global symbols (variables, constants, types) is deprecated and should be avoided.
Instead of GLOBALS
, use PUBLIC
symbols in modules to be imported
with IMPORT FGL
.