VARPTR$

From QB64 Wiki
Revision as of 11:21, 15 October 2010 by imported>Clippy
Jump to navigation Jump to search

VARPTR$ is a memory function that returns a STRING representation of a variable's memory address value for use in a DRAW or PLAY statement.


Syntax: value$ = VARPTR(variable_name)


  • When using this function with DRAW or PLAY strings, use an = sign.


Example: Using the function to change a Turn Angle value in DRAW.

DRAW "TA=" + VARPTR$(angle) {{CodeEnd See also:


Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page