
Writing Technician Interface Scripts
2-18 114089 Rev. A
Use the arithmetical and logical operators listed in Table 2-2 and Table 2-3 with
the
let command.
Table 2-2. Arithmetical Operators
Operation Symbol
Addition +
Subtraction -
Multiplication *
Division /
Exponent **
Remainder %
Table 2-3. Logical Operators
Operation Symbol Definition
1’s complement ~ Bit negation operator that provides the
bitwise complement of an integer
AND & Arithmetic AND
Inclusive-OR | Arithmetic inclusive OR
Exclusive-OR ^ Arithmetic exclusive OR
Logical shift left << Bit-shift to the left, far-right bit set to zero
Logical shift right >> Bit-shift to the right, far-left bit set to zero
Comentários a estes Manuais