Pointer

classes
   s              val            

SYNTAX

Pointer(&x)
Pointer("variable")

DESCRIPTION

Holds a reference to a variable. When memory for the variable is freed, the Pointer will return an error if used.


val

Pointer

SYNTAX

x = ptr.val
ptr.val = expr

DESCRIPTION

Returns the value of the variable pointed to by ptr or, if the left hand side of an assignment, sets the value of the variable.


s

Pointer

SYNTAX

str = ptr.s

DESCRIPTION

If the Pointer was constructed with the name of a variable, that name can be retrieved as a strdef.


neuron/general/classes/pointer.hel : 510 Mar 6