<-- Previous || Up || Next -->

HIBYTE Function
Windows API Class

Public Function HIBYTE( _
    ByVal vValue As Integer _
    ) As Byte

"High Byte"
Return the high-order byte of an Integer value.
Return the Byte value whose in-memory representation is the same as the left-most, most-significant-byte of Integer value vValue.

Examples:
    HIBYTE(513) = 2
    HIBYTE(258) = 1
    HIBYTE(-2) = 255
    HIBYTE(-257) = 254
See also:
    LOBYTE Function
    HIWORD Function
    CoerceTwoBytesToInteger Function
    MakeInteger Function
    CoerceToByte Function
Note: Use the CoerceTwoBytesToInteger function to reconstruct an Integer from two Byte values.
Note: Similar to but faster than using the MakeInteger and CoerceToByte functions.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.