Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 4 Expressions > 4.12 Expression Operator / Function Reference

4.12.1 Order of operations

Scroll Prev Top Next More

All expressions are evaluated from left to right, using standard notation.  The order of operations, from lowest priority to highest is:

 

,

&&  ||  |  &  #

<  >  <=  =>

!=  ==  <<  >>

+  -

*  /  %

^

!  ~  ~~  ~~~  any function

(

Operators on the same line have equal priority and are evaluated from left to right.

This means that 1 + 2 * 3 equals the same thing as 3 * 2 + 1.  

The meaning of these operators is described in the next few sections.