Equinox Online Help - Language Reference - A to Z

Home

Hiword

Applies to
SyntaxHiword (LongExpression)
Action[Function] Returns the upper word of an unsigned long data item.
ScopeUsable anywhere.
Notes

This function returns the upper word (two bytes) of the unsigned long (4-byte) argument. Note that it is provided for DLL support. You should not use it for general data handling.

CategoryWindows and DLLs
See Also Bcopy, WindowHandle, External, FontHandle, GetMessageParameters, GetNotifyParameters, Loword, MakeLong, PaletteRGB, RGB, RGBValues
Example

This example transfers the upper word of the long item lParam into the integer id.

id = Hiword(lParam)