MAKINT and MAKWRD functions

Purpose

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

MAKINT and MAKWRD have been superceded by the MAK function, although they remain supported for a limited period.  Existing code should be converted to the new syntax as soon as possible.

Syntax

value%  = MAKINT(lobyte, hibyte)

value?? = MAKWRD(lobyte, hibyte)

Remarks

MAKINT and MAKWRD take the low-order byte from each of lobyte and hibyte, and combine them into a single 16-bit value.  MAKINT returns a signed 16-bit integer value, and MAKWRD returns an unsigned 16-bit WORD value.

lobyte

Forms the least significant or "low-order" byte of the 16-bit result value.

hibyte

Forms the most significant or "high-order" byte of the 16-bit result value.

See also

MAK