Table of Contents

VARPTR

Returns the memory address of a variable, just as a pointer of other languages

Implemented by: msatari, level2, colorext, GWBASIC, ABasiC, QBasic, VBDOS, FreeBASIC, ugBASIC

With variations: colormc (undocumented), MSX (negative value requires adding 65535), Gambas

Also written as:

Usage

Variations

Examples

p = VARPTR(a$)

Comments

Similar keywords

In other languages...

VARPTR works kinda like the & operator before a variable's name in the C language.

References