version 3
Is a variable (aPointer) Boolean
Parameter | Type | Description | |
aPointer | Pointer | Pointer to be tested | |
Function result | Boolean | TRUE = Pointer points to a variable | |
FALSE = Pointer does not point to a variable |
Description
The Is a variable command returns True if the pointer you pass in aPointer references a defined variable. It returns False in all other cases (pointer to field or table, Nil pointer, and so on).
Starting with version 6, instead of using Is a variable, 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 the case of Nil pointers).
See Also