◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── VARPTR$ returns a string representation of a variable's address for use in DRAW and PLAY statements. VARPTR$(variablename) ■ If variablename is an array element, the dimensions for the array must be specified before VARPTR$ is used. The array must consist of variable-length strings. Important ■ To guarantee correct results, use the value returned by VARPTR$ immediately after invoking the function. Differences from BASICA ■ In this version of BASIC, 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.