NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned long addressOf ( variant  data)
inline

Get the absolute address of a variable.

Get the absolute address of a variable and return it to the calling routine as an unsigned long value.

Warning
This function requires the enhanced NBC/NXC firmware version 1.28+.
Parameters
dataA variable whose address you wish to get.
Returns
The absolute address of the variable.
Examples:
ex_addressof.nxc.