
Table 5-1 Operator Precedence and Associativity
Operator Name or Meaning Associativity
( ) Function call Left to right
. Member selection (object) Left to right
+ Unary plus None
– Arithmetic negation (unary) None
* Multiplication Left to right
/ Division Left to right
% Remainder (modulo) Left to right
+ Addition Left to right
– Subtraction Left to right
<< Left shift Left to right
>> Right shift Left to right
< Less than Left to right
> Greater than Left to right
<= Less than or equal to Left to right
>= Greater than or equal to Left to right
== Equality Left to right
!= Inequality Left to right
& Bitwise AND Left to right
^ Bitwise exclusive OR Left to right
| Bitwise OR Left to right
&& Logical AND Left to right
|| Logical OR Left to right
= Assignment Right to left
, Comma Left to right
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-4
Commenti su questo manuale