version 3
Nil (aPointer) Boolean
Parameter | Type | Description | |
aPointer | Pointer | Pointer to be tested | |
Function result | Boolean | TRUE = Nil pointer (->[]) | |
FALSE = Valid pointer to an existing object |
Description
The Nil command returns True if the pointer you pass in aPointer is Nil (->[]). It returns False in all other cases (pointer to field, table or variable).
Starting with version 6, instead of using Nil, it will be more convenient to use RESOLVE POINTER, which tells you about the nature of the referenced object, no matter what the object is (including Nil pointers).
See Also
Is a variable, RESOLVE POINTER.