Value | Type | ||||
2 | Integer | ||||
3 | String | ||||
4 | Single precision | ||||
8 | Double precision |
The other bytes give the offset into the current memory segment where the value of the variable is located: the value of the second byte is the low order byte of the offset; the third, the high order byte. The current segment is set invisibly by this function. An offset and seg(mach) together specify an address.
This function implements the BASIC VARPTR$ function.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber