HIWORD()

Auto Hotkey

HIWORD

Retrieves the high-order word from the given value.

OutputVar := HIWORD(Value)
Function Example: Word := HIWORD(1310730)

Parameters

OutputVar

The name of the variable to store the high-order word.

Value

The value to convert to high-order word.

Examples

var:=1310730
MsgBox % HIWORD(var)