MakeLarge Functions

Action

Makes a Large from two 32-bit integers

Syntax

z% = MakeLarge( hi, lo)

z% = MakeLargeHiLo( hi, lo)

z% = MakeLargeLoHi( lo, hi)

hi, lo:Short
z%:Integer

Description

MakeLarge and MakeLargeHiLo() create a 64-bit integer value form two 32-bit integers. The first value is placed in the high order longword of the large integer.

MakeLargeLoHi() creates a 64-bit integer value form two 32-bit integers. The first value is placed in the low order longword of the large integer.

Example

OpenW 1

Print Hex(MakeLarge(1, 2))      // $100000002

Print Hex(MakeLargeHiLo(1, 2))  // $100000002

Print Hex(MakeLargeLoHi(1, 2))  // $200000001

Remarks

See Also

MakeL2L(), MakeL2H(), MakeL3H(), MakeL3L(), MakeL4H(), MakeL4L(), MakeLong(), MakeLongHiLo(), MakeLongLoHi(), MakeWord(), MakeWordHiLo(), MakeWordLoHi(), MakeWParam()

{Created by Sjouke Hamstra; Last updated: 12/10/2014 by James Gaite}