Get the absolute or relative address of a variable.
Get the absolute or relative address of a variable and return it to the calling routine as an unsigned long value. The relative address is an offset from the Command module's MemoryPool address.
- Warning
- This function requires the enhanced NBC/NXC firmware version 1.28+.
- Parameters
-
data | A variable whose address you wish to get. |
relative | A boolean flag indicating whether you want to get the relative or absolute address. |
- Returns
- The absolute or relative address of the variable.
- Examples:
- ex_addressofex.nxc.