LET

The LET statement assigns a value to a variable, or a set of values to a record.

4GLREF00000162.gif

array is the name of a variable of the ARRAY data type.

blob is the name of a variable of the BYTE or TEXT data type.

destination, source are names, respectively, of a program record to be assigned values, and of a program record from which to copy values.

record is the name of a variable of the RECORD data type.

simple variable is the name of a variable of a simple data type, or a simple member of a record, or element of an array.

The LET statement can assign a single value to a single variable, or it can assign a set of values from a RECORD variable to an entire program record:

To execute a LET statement, 4GL evaluates the expression on the right of the equal sign ( = ) and assigns the resulting value to the variable on the left.

References

GLOBALS

INITIALIZE