[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VARPTR$                  Offset of Variable, in Character Form

 VARPTR$(variable)

    Returns, in a character format, the offset address of a specified
    variable in the current data segment.

    variable    The name of a string or numeric variable, or an array
                element.

   ----------------------------------------------------------------------

      Notes:    A three-byte string is returned. The first byte reports
                the variable type, the second reports the low-order
                portion of the variable address, and the third reports the
                high-order portion of the variable address. The type byte
                is coded as follows:

                2   Integer
                3   String
                4   Single-precision
                8   Double-precision

                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