Navigation:  thinBasic Modules > Core > Numeric handling >

LO

Previous pageReturn to chapter overviewNext page

 

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

 

Numeric Handling,

 

Examples