Keil Logo Arm Logo

C251 User's Guide

#if

The #if directive tests an expression and if the result is true (non-zero) allows the compiler to process subsequent text (until the next #else, #elif, or #endif directive). If the result is false (zero), subsequent text is not processed by the compiler.

#if expression
.
.
.
#endif

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.