Table of Contents

VARPTR$

Returns the contents of the given string variable; recommended for usage with PLAY or DRAW

Implemented by: GWBASIC, QBasic, VBDOS

With variations:

Also written as:

Usage

It is not easy to understand why this keyword must be used with PLAY or DRAW instead of a simple concatenation to the string variable itself, like in ''PLAY "X" + A$, in MS QuickBASIC or GW-BASIC.

Variations

Examples

Comments

Similar keywords

In other languages...

References