HIWRD function

Purpose

Extract the most significant (high-order) Word from a Long-integer or Double-word (DWORD) value and return it as an unsigned Word value.

HIWRD has been superceded by the HI function, although HIWRD remains supported for a limited period.  Existing code should be converted to the new syntax as soon as possible.

Syntax

wResult?? = HIWRD(thirtytwobitvalue)

Remarks

The value return by HIWRD is always unsigned, regardless of the sign of the argument.

See also

HI