User manual

216
mikoPascal PRO for PIC32
MikroElektronika
Unary Arithmetic Operators
Operator - can be used as a prex unary operator to change sign of a signed value. Unary prex operator + can be
used, but it doesn’t affect data.
For example:
b := -a;
Relational Operators
Use relational operators to test equality or inequality of expressions. All relational operators return TRUE or FALSE.
All relational operators associate from left to right.
Relational Operators Overview
Operator Operation
= equal
<> not equal
> greater than
< less than
>= greater than or equal
<= less than or equal
Relational Operators in Expressions
Precedence of arithmetic and relational operators is designated in such a way to allow complex expressions without
parentheses to have expected meaning:
a + 5 >= c - 1.0 / e // → (a + 5) >= (c - (1.0 / e))