User Tools

Site Tools



MemAdr( )

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.

Go CUBLOC home

cubloc/memadr/index.txt · Last modified: 2016/04/14 11:07 (external edit)