User`s manual

204 digi.com Keywords
if
Indicates the beginning of an if statement.
if( tank_full ) shut_off_water();
if( expression ){
statements
}else if( expression ){
statements
}else if( expression ){
statements
}else if( expression ){
statements
...
}else{
statements
}
If one of the expressions is true (they are evaluated in order), the statements controlled by that expression
are executed. An if statement can have zero or more else if parts. The else is optional and executes
only when none of the if or else if expressions are true (non-zero).
init_on
The costatement is initially on and will automatically execute the first time it is encountered in the execu-
tion thread. The costatement becomes inactive after it completes (or aborts).