
Chapter 12 Tasks and Expressions 215
List of Operators This is a list of the operators supported by WATCHOUT, shown in their order
of precedence.
Most operators work as expected. The Modulo operator yields the remainder
of an integer division. All other numeric operators yield results with fractional
digits. All relational operators (<, >, etcetera) yield 1 if the relation is true, 0 if
it is false. Likewise, the logical operators yield 1 for true and 0 for false.
Operator Description
( ) Parenthesis. Used to group sub-expressions.
- Unary Minus.
* / % Multiplication, Division and Modulo.
+ - Addition and Subtraction.
< <= >
>= = !=
Less Than, Less Than or Equal To, Greater Than, Greater Than
or Equal To, Equal, Not Equal.
&& Logical And.
|| Logical Or.
Commentaires sur ces manuels