Syntax
... = ADDRESSOF
sub/function
' get the starting address of the sub/function
or
... =
ADRESSOF variable/string
Description
The address of a variable or
function can be determined with the ADRESSOF
operator.
Example
xx = 0
sub doit
xx = xx+1
end
sub
VICVectAddr3 = ADRESSOF doit ' setup the 3rd
interrupt to execute doit
Differences from other BASICs
- no equivalent in Visual BASIC
- no equivalent in PBASIC
See also