LOBYT function

Purpose

Extract the least significant (low-order) byte from an Integer or Word value, and return it as an unsigned Byte value.

LOBYT has been superceded by the LO function, although LOBYT remains supported for a limited period.  Existing code should be converted to the new syntax as soon as possible.

Syntax

bResult? = LOBYT(sixteenbitvalue)

Remarks

The value returned by LOBYT is always unsigned, regardless of the sign of the argument.  Effectively, this function provides the same result as PEEKing at the first byte of the argument.

See also

HI, HIBYT, HIINT, HIWRD, LO, LOINT, LOWRD, MAKDWD, MAKINT, MAKLNG, MAKPTR, MAKWRD