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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER