AddressOf
 
Syntax


 ... =  ADDRESSOF sub/function                          ' get the starting address of the sub/function

   or 

  ... = ADDRESSOF variable/string


Description

    The address of a variable or function can be determined with the ADDRESSOF operator.  

   
Example

xx = 0

sub doit
   xx = xx+1
end sub

VICVectAddr3 =  ADDRESSOF doit    ' setup the 3rd interrupt to execute doit




Differences from other BASICs

See also