PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 130

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

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

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
#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 PCDIDE COMPILER