Versions Compared

Key

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

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

Code Block
X := Y << 2

If Y started out as:

...