variable = MemAdr (targetVariable)
variable | Variable to store results (No String or Single) |
targetVariable | Variable whose physical memory address should be returned |
The MemAdr command will return the memory location of the specified target variable. This can be useful when used with the Peek and Poke commands; operations similar to C pointer manipulation can be performed.
Dim A as Single Dim Adr as Integer Adr = MemAdr(A) 'Return the physical address of A.
MemAdr does not work with arrays.