module variable

A variable defined outside all program blocks. The scope of reference of a module variable is all statements that follow its definition. In 4GL, module variables are defined with the DEFINE statement at the top of a source module, outside all program blocks.

See also declare, define, program block, scope of reference, source module, variable.