Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
This is an old revision of the document!
@ (address of)
Used within an expression, the @
operator returns the memory address of the variable or label that it is prepended to, as an integer.
Example:
rem define a new variable let x=1 rem retrieve information about the variable print "the value of x is ", x print "the address of x is ", @x
A more typical usage of the @
operator is to resolve the address of a label. Please refer to this example for demonstration.