As Expr uses BQL, all the standard BQL expression syntax is available. For more information on BQL expressions, see the NiagaraAX Developer Guide.
Operators are processed by their precedence, that is “order of operation”, from first (1) to last (6).
!, not, -
logical not, numeric negation
* , /
multiplication, division
+, -
addition, subtraction
=, !=, >, >=, < <=, like
comparisons
and, or
logical operators
as
result operator
You may use parentheses to override the normal precedence as illustrated in the following examples.
In the first expression, multiplication precedes addition. Adding the parentheses changes the precedence so that addition precedes multiplication.
Copyright © 2000-2014 Tridium Inc. All rights reserved.