Click or drag to resize

MakeLong Function

Create a long from two words

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.2a
Syntax
 FUNCTION MakeLong(
	wLow AS WORD,
	wHigh AS WORD
) AS LONG
View Source

Parameters

wLow
Type: UInt16
The number you want to have in the Low word of the Long
wHigh
Type: UInt16
The number you want to have in the High word of the Long

Return Value

Type: Int32
Remarks
Examples
X#
? MakeLong(0x0001, 0x0001) // 65537
? MakeLong(0xFFFF, 0xFFFF) // -1
See Also