Preprocessor Defines
(Created page with "{| style="font-family:Verdana, Genega, sans-sarif; font-size:80%;color:gray;" width="100%" cellpadding="0%" cellspacing="0" border="0" |- | ''Main >> [[Preproce...") |
|||
| Line 5: | Line 5: | ||
|- | |- | ||
|} | |} | ||
| − | |||
| Line 11: | Line 10: | ||
| − | 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. | + | {| style="font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;" width="100%" cellpadding="5%" cellspacing="0" border="0" |
| + | |- | ||
| + | |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: | The predefined symbols can be used in include files ad user programs for conditionally compiling code based on features. The preprocessor defines include: | ||
| − | + | {| style="font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:center; font-size:100%; border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #000;" cellpadding="5%" | |
| − | + | ! style="border-style: solid; border-width: 0px 0px 0px 0px"|''Symbol Name'' | |
| − | {| style="font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align: | + | ! style="text-align:left; border-style: solid; border-width: 0px 0px 0px 0px"|Usage / Comments |
| − | + | |- | |
| − | + | | style="color:#8b0000; border-style: solid; border-width: 0px 0px 0px 0px"|%d or %i | |
| − | + | | style="text-align:left; border-style: solid; border-width: 0px 0px 0px 0px"|Signed decimal integer | |
| − | + | |- | |
| − | | | + | |} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | |- | + | |
| − | | | + | |
| − | | | + | |
| − | | | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | |- | + | |
| − | |} | + | |
Revision as of 15:14, 4 January 2012
|
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:
|