|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Operator precedence determines the order of executing operators,
when different operators appear close by in one expression.
* has higher precedence than
a + b * c means to multiply
c, and then add
a to the product.
You can overrule the precedence of the operators by using
parentheses. You can think of the precedence rules as saying where
the parentheses are assumed to be if you do not write parentheses
yourself. Thus the above example is equivalent to
a + (b * c).
When operators of equal precedence are used together, the leftmost
operator groups first. Thus,
a - b + c groups as
(a - b) + c.
This table lists
radtest operators in order from highest
precedence to the lowest:
+ - not !
Unary plus, minus. Unary boolean negation.
* / %
Multiplication, division, modulus.
< <= = != > >=
This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.