<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Numeric functions > LO |
Description
Extract the least significant (low-order) portion of an integer class value.
Syntax
n = LO({ BYTE | INTEGER | WORD | DWORD | LONG }, Num)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
Num |
Number |
No |
An integer class number (INTEGER, WORD, DWORD, LONG, QUAD) |
Remarks
Num must be up to twice the size of the numeric type specified.
So, for example, if you ask to return highest INTEGER, 16 bit, Num must be up to a 32 bit integer class number.
Restrictions
See also
Examples