Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
UNASSIGNED Function (DataBasic) (m618703+unassigned_f.htm)
Determines whether or not a value is assigned to a variable.
UNASSIGNED(variable)
variable is a single variable reference only.
UNASSIGNED returns 0 (zero) if variable is currently assigned a value; otherwise, it returns 1.
ASSIGNED function (MultiValue compatibility).
X = UNASSIGNED(VAR)
Variable X is assigned a value of 0 if VAR is currently assigned a value, or a value of 1 otherwise.
IF UNASSIGNED(INDEX) THEN GO 10 ELSE GO 20
The program branches to statement label 20 if INDEX is currently assigned a value. The program branches to statement label 10 if INDEX is currently unassigned.