Constants declared (using the Const
statement) and variables declared (using
the Static
statement) at the modular
level (outside any procedure) in a CitectVBA file have modular
scope to all procedures within that same CitectVBA module (file).
This means that modular constants and static variables can only be
referenced from a procedure located within the same file module,
and cannot be referenced from outside of that file module. This has
no effect in CitectVBA, even if declared using the Global
keyword.
Modular level constants and static variables retain their assigned values for the entire runtime of the project.