Positron Compiler Documentation

AddressOf

Positron16 · Revision 1.1.3.5 · PDF page 327

Assignment Variable = AddressOf ( Variable or Label )

Returns the address of a variable in RAM, or a label in code memory. Commonly known as a pointer.

Variable or Label can be any variable type used in the BASIC program, or it can be a label name, in which case, it will return the code memory address. Assignment Variable can be any of the compiler's variable types, and will receive the variable's or label's address.

View original PDF page 327Open page in PDFOriginal PDF page 327