UtilsLib Xojo plugin

EinhugurBitwiseModule.BitShift Method (console safe)

To obtain result of left- or right - shifted 32-bit value, use the BitShift function.

BitShift(
   op as Int32,
   bit as Int32) as Int32

Parameters

op
Integer value to be shifted.
bit
Positive shifts left, negative shifts right. If you pass 0 to this parameter then nothing happens.

Returns

Int32

Remarks

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon

    See Also

    EinhugurBitwiseModule Module