QBasic 1.1: VARPTR$ Function

Syntax

VARPTR$(commandstring$)

Description / Parameter(s)

commandstring$ A string variable containing DRAW or PLAY commands.

Example

Scale$ = "CDEFGAB" PLAY "L16" FOR i% = 0 TO 6 PLAY "O" + STR$(i%) PLAY "X" + VARPTR$(Scale$) NEXT i%