Equinox Online Help - Language Reference - A to Z

Home

Loword

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

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

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

This example returns the lower word of the long item lParam into the variable ButtonId.

ButtonId = Loword(lParam)