UNASSIGNED


The UNASSIGNED function allows a program to determine whether a variable has been assigned a value.

 

COMMAND SYNTAX

UNASSIGNED(variable)

 

SYNTAX ELEMENTS

variable is the name of variable used elsewhere in the program.

 

NOTES

The function returns Boolean TRUE if variable has not yet been assigned a value. The function returns Boolean FALSE if variable has already been assigned a value.

See also: ASSIGNED

 

EXAMPLE

IF UNASSIGNED(Var1) THEN
    Var1 = "Assigned now!"
END


jBC