4D v16.3

Nil

Home

 
4D v16.3
Nil

Nil 


 

Nil ( aPointer ) -> Function result 
Parameter Type   Description
aPointer  Pointer in Pointer to be tested
Function result  Boolean in TRUE = Nil pointer (->[]) FALSE = Valid pointer to an existing object

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).

If you want to find out the name of the variable or the number of the field that is being pointed to, you can use the RESOLVE POINTER command.



See also 

Is a variable
RESOLVE POINTER

 
PROPERTIES 

Product: 4D
Theme: Language
Number: 315

This command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)