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

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
if
if-else
The if-else statement is used to make decisions.
The syntax is :
The expression is evaluated; if it is true stmt-1 is done. If it is false then stmt-2 is done.
else-if
This is used to make multi-way decisions.
The syntax is
The expression's are evaluated in order; if any expression is true, the statement associated with it
is executed and it terminates the chain. If none of the conditions are satisfied the last else part is
executed.
Example:
if (x==25)
else
Also See:
while
While is used as a loop/iteration statement.
while (expr)
execution continues after the statement.
Example:
while (get_rtcc()!=0)
Also See:
32
The syntax is
The expression is evaluated and the statement is executed until it becomes false in which case the
statement
if (expr)
[else
[else if (expr)
[else
if (expr)
...
putc('n');
x=1;
x=x+1;
stmt-1;
stmt-2;]
stmt;
stmt;]
stmt;]
Statements
Statements

Related parts for PCDIDE COMPILER