Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
20 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
Arithmetic expressions use the following ANSI C language operators and<br />
precedence.<br />
(expression)<br />
Parenthesis overrides precedence rules<br />
Unary operators<br />
+expression Unary +<br />
-expression Unary -<br />
xexpression Bitwise negation<br />
!expression Logical negation<br />
Multiplicative operators<br />
expression * expression Multiplication<br />
expression / expression Division<br />
expression % expression Remainder<br />
Additive operators<br />
expression + expression Addition<br />
expression - expression Subtraction<br />
Bitwise shift operators<br />
expression > expression Right shift the first expression by the number of<br />
bits given in the second expression<br />
Relational operators<br />
expression < expression Less than<br />
expression expression Greater than<br />
expression >= expression Greater than or equal to<br />
Bitwise AND operator<br />
expression & expression Bitwise and where the result contains a1ineach<br />
bit position where there is a1inboth expressions and a0inallother bit<br />
positions.<br />
Bitwise Exclusive OR operator<br />
expression | expression Bitwise exclusive or where the result contains a 1<br />
in each bit position where there is a1inonly one of the expressions and a<br />
0 in all other bit positions.<br />
Bitwise OR operator<br />
expression | expression Bitwise or where the result contains a1ineach bit<br />
position where there is a1ineither expression and a0inallother bit<br />
positions.<br />
Logical AND operator<br />
expression && expression Logical and where the result is true if both<br />
expressions are true<br />
Logical OR operator<br />
expression || expression Logical or where the result is true if one of the<br />
expressions is true