PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 130

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCD COMMAND LINE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
#IFDEF #IFNDEF #ELSE #ELIF #ENDIF
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
116
#IFDEF id
#ELIF
#ELSE
#ENDIF
#IFNDEF id
#ELIF
#ELSE
#ENDIF
id is a preprocessor identifier, code is valid C source code.
This directive acts much like the #IF except that the preprocessor simply checks
to see if the specified ID is known to the preprocessor (created with a #DEFINE).
#IFDEF checks to see if defined and #IFNDEF checks to see if it is not defined.
#define debug
...
#ifdef
printf("debug point a");
#endif
ex_sqw.c
#IF
code
code
code
code
code
code
DEBUG
// Comment line out for no debug

Related parts for PCD COMMAND LINE COMPILER