LO function   

Purpose

Extract the least significant (low-order) portion of an integer-class value.

Syntax

result = LO(type, value)

Remarks

The value returned by LO is unsigned if type is BYTE, WORD, or DWORD, and signed if type is INTEGER or LONGvalue may be up to twice the size of the data type specified by type.  In the following example, n may be up to a 16-bit value (twice the size of a BYTE):

b = LO(BYTE,n)

Restrictions

LO replaces LOBYT, LOWRD, and LOINT.  Note that those functions may not be supported in future versions of PowerBASIC, so update your code to use the new syntax.

See also

HI, MAK