Operators
NetDecision Script Language includes the
following unary operators:
|
Symbol
|
Name
|
|
– !
|
Negation and complement operators
|
Binary operators associate from left to
right. NetDecision Script Language provides the following binary
operators:
|
Symbol
|
Name
|
|
* / %
|
Multiplicative operators
|
|
+ –
|
Additive operators
|
|
< > <= >= == !=
|
Relational
operators
|
|
&& ||
|
Logical operators
|
|
= += -= *= /=
|
Assignment operator
|
|
[]
|
Array element operator |
|
++ -- |
Postfix increment/decrement |
|
<< >> |
Bitwise shift operators |
|
| & |
Bitwise 'or' and 'and' operators |
The conditional-expression operator has
lower precedence than binary expressions and differs from them in
being right associative.
|