qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.