rel_exp - IS ASSIGNED
... <fs> IS [NOT] ASSIGNED ...
This predicate expression checks whether a memory area is assigned to a field symbol
The expression is true if the field symbol points to a memory area.
expects a field symbol declared using
FIELD-SYMBOLS or declared inline using FIELD-SYMBOL(
If the addition
NOT is used, the expression is true if no memory area is assigned to the field symbol.
Assigns a data object to a field symbol if no memory area has been assigned yet.
FIELD-SYMBOLS <fs> TYPE c. ... IF <fs> IS NOT ASSIGNED. ASSIGN 'Standard Text' TO <fs>. ENDIF. ...