Tests whether a variable has been assigned an initial value.
bTest = IsSet(aVar)
|bTest||TRUE if the variable has been assigned. BOOLEAN.|
|aVar||The variable to check. ANYTYPE.|
IsSet checks whether a variable has been assigned an initial value, returning TRUE if it has been assigned a value or FALSE if it has not.
For aggregate types, for example LIST OF and records, IsSet() is implementation-dependent. You should only call IsSet() against the individual items of that type.
STRING s // uninitialized variable INTEGER i = 1 // initialized variable Print (IsSet (s)) // prints: FALSE Print (IsSet (i)) // prints: TRUE