MAK function

Purpose

Create an integral class value of a specified data type.

Syntax

resultvar = MAK(datatype, loworderval, highorderval)

Remarks

Create an integral class value of a specified data type (WORD, DWORD, PTR, INTEGER, LONG, QUAD) from a low-order and a high-order part.

The complements to this function are the HI and LO  functions, which may be used to split a single 32-bit value into two 16-bit components.

Restrictions

MAK supercedes the MAKWRD, MAKDWD, and MAKPTR functions. Those functions are no longer supported, so update your code to use the new syntax.

See also

HI, LO

Example

dwResult = MAK(DWORD, x??, y??)