local variable

A variable defined within a program block. The scope of a local variable is limited to those statements within the program block. In 4GL, local variables are defined within MAIN, FUNCTION, or REPORT program blocks with the DEFINE statement.

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