MakeLong Function | |
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
public static int MakeLong(
ushort wLow,
ushort wHigh
)
Request Example
View SourceParameters
- 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:
LongRemarks Examples 1? MakeLong(0x0001, 0x0001)
2? MakeLong(0xFFFF, 0xFFFF)
See Also