Returns the memory address of a label.
a% = LabelAddr(name)
a%:iexp
name:label name
With the function LabelAddr(name) you determine the address of a named label. The return is an Integer value.
A label can be number or alphanumeric name followed by a semicolon.
OpenW 1
Print LabelAddr(test)
Print LabelAddr(5)
5 // numeric label (without :)
'
test: // alphnumeric label (with :)
The address of a label can be obtained for a label that is in scope. Labels can be used locally only.
{Created by Sjouke Hamstra; Last updated: 11/10/2014 by James Gaite}