Shift operations include Logical Left, Logical Right, Arithmetic Left, Arithmetic Right, Rotate Left and Rotate Right. All operations require an integer operand that specify the number of bits to shift or rotate. Arithmetic shift differs from logical shift in that it saves the sign of the operand. Only right logical and arithmetic shift perform differently and only if the value is negative.
When you execute a shift operation, the following dialog appears:
The operation you executed is automatically selected, but you can change it if you like.
Enter the number of bits to shift or rotate.
Non-byte size operands are always aligned.
Scripts may execute bitwise operations using the IDocumentView.shiftOpAsync method.