UtilsLib Xojo plugin

EinhugurBitwiseModule.HiWord Method (console safe)

To obtain most-significant 16 bits of 32-bit operand, use the HiWord function.

HiWord(
   value as Int32) as Int32

Parameters

value
2-bit source operand.

Returns

Int32
A integer - high-order 16-bit word of a 32-bit value.

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