[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
VARPTR$ Offset of Variable, in Character Form
VARPTR$(variable)
Returns, in a character format, the complete address (segment and
offset) of a variable.
variable The name of a string or numeric variable, or an array
element.
-------------------------------------------------------------------------
Notes: VARPTR$ is primarily used to produce address strings for
the PLAY and DRAW statements.
The string returned is 5 bytes in length. The 5 bytes are
formatted as follows:
Byte 0 Type of variable (see below)
Byte 1 Low-order byte of offset address
Byte 2 High-order byte of offset address
Byte 3 Low-order byte of segment address
Byte 4 High-order byte of segment address
The variable types are:
2 Integer
3 String
4 Single-precision
8 Double-precision
See Also:
DRAW
PLAY (Statement)
VARPTR
VARSEG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson