qb45advr.hlp (
Topic list)
VARPTR$ Function Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
VARPTR$ Function Details
Syntax
VARPTR$(variablename)
The variablename is the name of a variable in the program.
If variablename is an array element, then the array must be dimensioned
before the VARPTR$ function is used. The array must be an array of
variable-length strings.
Note: To guarantee correct results, use the value of VARPTR$
immediately after invoking the function.
Differences from BASICA
In QuickBASIC programs, VARPTR$ must be used in the DRAW and PLAY
statements to execute substrings containing variables.
BASICA supports both the VARPTR$ syntax and the syntax containing just the
variable name.