Operators 

The operators that are defined in IDL are listed in the following table. In an expression perators are done in order of priority. If two operators have the same priority then the one on the left is done first. All operators in that have the same priority are treated equally. The assignment is the last operation done.
 
 
Priority Operator Meaning
First (highest) () 
[] 

grouping - inner to outer  
array concatenation 
pointer dereference 
exponentiation
Second
# and ##  

MOD 
multiplication 
array multiplication 
division 
modulus
Third



NOT
addition 
subtraction 
minimum 
maximum 
Boolean negation
Fourth EQ 
NE 
LE 
LT 
GE 
GT
equality 
not equal 
less than or equal 
less than 
greater than or equal 
greater than
Fifth AND 
OR 
XOR
Boolean AND 
Boolean OR 
Boolean exclusive OR
Sixth = assignment