MAKINT

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Numeric functions >

MAKINT

 

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 functions

 

Examples