HIBYTE

Retrieves the high-order byte from the given value.


OutputVar := HIBYTE(Value)
Function Example: Byte := HIBYTE(5130)

Parameters

OutputVar

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

Value

The value to convert to high-order byte.

Examples

var:=5130
MsgBox % HIBYTE(var)