[Next] [Previous] [Up] [Top] [Contents] [Index]
13. Expressions
Operators can be combined at will, as long as the values have the correct type. If operators are mixed in an expression, they are evaluated in the following order:
- (unary), ! (not)
*, /, %
+, -
=, !=, <, <=, >, >=
& (and)
| (or)
Operators that have the same precedence are evaluated from left to right.
The evaluation order can be changed by using parantheses. Subexpressions enclosed in parantheses are evaluated first.
2.3 * (bfactor + 1.8)
(res.num < 10 | res.name = "ARG") & name = "C"
[Next] [Previous] [Up] [Top] [Contents] [Index]
Generated with Harlequin WebMaker