VarPtr&()
Last Modified: 9/8/2021
Returns the memory address of a variable.
Arguments
Var |
Variable |
Yes |
The variable to retrieve the memory address of. |
Example
c$ = "Hello World"
a& = VarPtr&(c$)
DataPtr& = a&
Print Read()
|
Remarks
You can use the
DataPtr& system variable to set the data pointer to the variable with the stored memory location, which will allow you to use the
Read,
ReadInt,
ReadLong,
Write,
WriteInt, or
WriteLong commands,
or the
Read(),
ReadInt(), or
ReadLong() functions just like if you were using the
Reload functions.
See Also
Read,
ReadInt,
ReadLong,
Reload,
Restore,
Write,
WriteInt,
WriteLong,
Read(),
Read(),
ReadLong&(),
VarPtr&()