Click or drag to resize

MakeWord Function

X#
Create a Short from two bytes

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION MakeWord(
	bLow AS BYTE,
	bHigh AS BYTE
) AS WORD
Request Example View Source

Parameters

bLow
Type: Byte
The number you want to have in the Low byte of the Word
bHigh
Type: Byte
The number you want to have in the High byte of the Word

Return Value

Type: Word
Remarks
Examples
X#
1?  MakeWord(0x01, 0x01) // 256
2?  MakeWord(0xFF, 0xFF) // 65535
See Also