The predefined symbols can be used in include files ad user programs for conditionally compiling code based on features. The preprocessor defines include:
||Usage / Comments
||Indicates that the ROBOTC compiler was used.
|_DEBUG, _RELEASE, _CUSTOM
||Compiler optimization selection.
||Contains the type of debugger target. One of the following
values: “Robot”, “Emulator” or “VirtWorld”.
|NXT, TETRIX, VEX, VEX20, ARDUINO
||The currently selected platform.
||Contains the numerical firmware version; e.g. 852.
||When IFI platform is selected.
||When TETRIX features are active.
||When FTC features are active.
||When robot algebra option is enabled.
||When multi-robot option is enabled.