Pointer Operators

FreeBASIC

Pointer Operators
 
Operators that work with pointers

The pointer operators provide the ability to retrieve the addresses in memory of their operands, and to use, or dereference, that memory.

Operator Varptr (Variable Pointer)
Returns the memory address of a variable.
Operator Strptr (String Pointer)
Returns the memory address of a string's character data.
Operator Procptr (Procedure Pointer)
Returns the memory address of a procedure.
Operator @ (Address Of)
Returns the memory address of a variable, object or procedure.
Operator * (Value Of)
Returns a reference to a variable or object at some memory address.