Contents Up << >>

Shift operators

The shift operators are SLL, SRL, SLA, SRA, ROL, and ROR. They perform logical and arithmetic shift operations, and rotation operations on any one-dimensional array of the bit or boolean type. The left argument of each operator is a vector and the right argument is an integer value of the number of positions to shift or rotate.