Navigation:  thinBasic Modules > Core > Numeric handling >

MAKINT

Previous pageReturn to chapter overviewNext page

 

Description

 

Take the low-order byte from each of two integer-class variables and combine to produce a single 16-bit value.

 

Syntax

 

n = MAKINT(LowByte, HighByte)

 

Returns

 

Number. A signed 16-bit value

 

Parameters

 

Name

Type

Optional

Meaning

LowByte

Number

No

A numeric expression (internally transformed into a 32 bit number) whose lowest part will be taken

HighByte

Number

No

A numeric expression (internally transformed into a 32 bit number) whose highest part will be taken

 

Remarks

 

Restrictions

 

See also

 

Numeric Handling,

 

Examples