Variable

A named storage location that holds a value of a specified data type. A program can access and change this value by specifying its name. A 4GL variable (sometimes called a program variable) can transfer information between a 4GL form, report, and program. To use a 4GL variable, you must first define it (with the DEFINE statement) to specify the variables name and data type. Variables names must following identifier naming rules.

See also 4GL function, assign, constant, data type, declare, define, global variable, identifier, local variable, module variable, name space, naming conventions, report, screen form, scope of reference, simple data type, structured data type.