PS TEXT FORMAT Reference Manual
Expressions
5-14 11387 Tandem Computers Incorporated
Table 5-6. Unary Operators
Unary Type of Type of
Operator Operation Operand Result
+ Positive sign assignment Numeric Numeric
– Sign complementation Numeric Numeric
! Boolean negation ("not") Boolean Boolean
Binary Operators The binary operators are the algebraic +, –, *, and / which specify addition,
subtraction, multiplication, or division computations involving the two
numeric entities on either side of the operator; and the string concatenator
&, which joins the two string entities on either side of it. Table 5-7 displays
binary operators.
Table 5-7. Binary Operators
Binary Type of Type of
Operator Operation Operand Result
+ Algebraic addition Numeric Numeric
– Algebraic subtraction Numeric Numeric
* Algebraic multiplication Numeric Numeric
/ Algebraic division Numeric Numeric
& String concatenation String String