Loading...
Select Version
&pagelevel(5)&pagelevel
A variable is an object to which values can be passed during program execution. It belongs to one of the data types and can be both written to and read.
Variables can be fixed-length strings (up to 133 characters), numeric values (4 bytes) or bit patterns (1 to 4 bytes).
During compilation, the data type of a variable is defined by statically the first assignment, and by the defined data type on the right of the assignment. See table 9 (Data types) for more details.
During runtime, any attempts to read a variable that has not yet been dynamically defined will result in a runtime error and in termination of the PRODAMP program.