Preprocessor Defines

From ROBOTC API Guide
Jump to: navigation, search

Main >> Preprocessor Defines




The ROBOTC Compiler supports several different preprocessor defines that contain information about the compile time environment. Recently added are defines that indicate which features are enabled in the IDE.

The predefined symbols can be used in include files ad user programs for conditionally compiling code based on features. The preprocessor defines include:

Symbol Name Usage / Comments
ROBOTC Signed decimal integer
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox