Skip to content

Pointer Operators

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Operators › Pointer Operators

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 And Vtable Index)

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.


Category: Operators


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally