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.
Next revision | Previous revision | ||
at [2019/05/08 07:55] – created neils | at [2020/01/26 09:46] (current) – [Resolving addresses of array members] neils | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== @ (address of) ====== | ====== @ (address of) ====== | ||
+ | |||
+ | //Since version 1.1// | ||
Used within an expression, the '' | Used within an expression, the '' | ||
Line 12: | Line 14: | ||
print "the address of x is ", @x | print "the address of x is ", @x | ||
+ | A more typical usage of the '' | ||
+ | |||
+ | ===== Resolving addresses of array members ===== | ||
+ | |||
+ | Since version 2.1 it is possible to get the address of an array member using the following syntax: | ||
+ | |||
+ | dim x[5] | ||
+ | print " | ||
+ | |||
+ | ===== Resolving the address of a procedure or function ===== | ||
+ | |||
+ | Since version 2.2.04 it is possible to get the address of a procedure or function: | ||
+ | |||
+ | proc myproc | ||
+ | ... | ||
+ | endproc | ||
+ | | ||
+ | print "entry point of myproc is: ", @myproc |