@ (address of)

Since version 1.1

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.

Discussion

Enter your comment. Wiki syntax is allowed:
Q B U L T
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies