VARPTR$ Function Action Returns a string representation of a variable's address for use in DRAW and PLAY statements. Syntax VARPTR$( variablename) Remarks The argument variablename is the name of a variable in the program. If variablename is an array element, dimensions for the array must be specified before VARPTR$ is used. The array must consist of variable-length strings. Note To guarantee correct results, use the value returned by VARPTR$ immediately after invoking the function. 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. See Also DRAW; PLAY Statement (Music); VARPTR, VARSEG Example See the PLAY function programming example, which uses the VARPTR$ function.