MAKWRD

<< Click to Display Table of Contents >>

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

MAKWRD

 

Description

 

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

 

Syntax

 

n = MAKWRD(LowByte, HighByte)

 

Returns

 

Number. An unsigned 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