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

LOBYTE Function
Windows API Class

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

"Low Byte"
Return the low-order byte of an Integer value.
Return the Byte value whose in-memory representation is the same as the right-most, least-significant-byte of Integer value vValue.

    LOBYTE(513) = 1
    LOBYTE(258) = 2
    LOBYTE(-2) = 254
    LOBYTE(-257) = 255
See also:
    HIBYTE Function
    LOWORD 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.