Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
at [2019/05/08 07:55] – created neilsat [2019/06/30 21:09] neils
Line 1: Line 1:
 ====== @ (address of) ====== ====== @ (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. Used within an expression, the ''@'' operator returns the memory address of the variable or label that it is prepended to, as an integer.
Line 12: Line 14:
   print "the address 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 [[examples#example_3usr_function|this example]] for demonstration.