Click or drag to resize

MakeLong Function

X#
Create a long from two words

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

Parameters

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

Return Value

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