Action
Tests whether the value at the specified address is NULL.
Syntax
bTest = IsNull(aAddr)
Variable
|
Description
|
bTest
|
TRUE if the value is NULL.
BOOLEAN
|
aAddr
|
The address of a value that may or may not be initialized to NULL.
aAddr can be a variable name or the specification for a single element of a list or an array.
inout ANYTYPE.
|
IsNull returns TRUE if the addressed value is NULL or FALSE if it is one of the values appropriate to the data type of
aAddr.
Example
[-] ARRAY[50] OF STRING my_array = {...}
[ ] "alpha"
[ ] "beta"
[ ] "gamma"
[-] testcase IsNull_example()
[ ]
[-] Print(IsNull(my_array[3])) // Prints: FALSE