NET/MASTER Network Control Language (NCL) Reference Manual
Precedence of Operators
Expressions and Operators
106126 Tandem Computers Incorporated 10–7
Table 10-1. Precedence of Operators
Operator Operation Type
( Begin a logical group Parenthesis
) End a logical group Parenthesis
\ Logical NOT Boolean
NOT Logical NOT Boolean
+ Unary plus Arithmetic
- Unary minus Arithmetic
** Exponentiation Arithmetic
* Multiplication Arithmetic
/ Division Arithmetic
// Integer division Arithmetic
% Remainder Arithmetic
+ Addition Arithmetic
- Subtraction Arithmetic
blank Concatenation Concatenation
|| Concatenation Concatenation
= Simple equal to Relational
\= Simple not equal to Relational
< Simple less than Relational
> Simple greater than Relational
<= Simple less than or equal to Relational
>= Simple greater than or equal to Relational
== Strict equal to Relational
\== Strict not equal to Relational
<< Strict less than Relational
>> Strict greater than Relational
<<= Strict less than or equal to Relational
>>= Strict greater than or equal to Relational
AND Logical AND Boolean
OR Logical inclusive OR Boolean
XOR Logical exclusive OR Boolean