Preprocessor Defines

Revision as of 22:14, 4 January 2012 by Bfeher (Talk | contribs)

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
%d or %i Signed decimal integer