UNREF Statement

Previous  Next

 

UNREF reference

 


 

Removes the reference (pointer) to a variable.  This is the same as assigning a C++ pointer the value NULL.

 

Examples:

 

DIM kalle as INTEGER

DIM r AS REFERENCE

r = REF( kalle )

r = 123                          ' This is the same as kalle = 123

UNREF r