Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Bitwise Shift Right operator shifts the bits of the first operand right by the number of bits indicated in the second operand. The original LSBs (rightmost bits) drop off and the new MSBs (leftmost bits) are set to zero. Bitwise Shift Right can be used in both variable and integer constant expressions, but not in floating-point constant expressions. Example:

Code Block
X := Y >> 3

If Y started out as:

...