[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
VARPTR Offset of Variable or Offset of File Buffer
VARPTR(variable) or VARPTR(#filenum)
Returns the offset address of a variable, or of a file I/O buffer,
within the current data segment.
variable The name of a string or numeric variable, or an array
element.
filenum The number under which a file was OPENed.
----------------------------------------------------------------------
Notes: The offset returned is a single-precision value in the
range 0 to 1048575. For variables, the offset is that of
the first byte associated with the specified variable.
If the variable has not yet been used in an assignment
statement, an Illegal Function Call error results.
When using VARPTR with array variables, be aware that
array variables are moved in memory every time a new
nonarray variable is assigned.
See Also:
VARPTR$
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson