MakeWord Function | |
Create a Short from two bytes
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION MakeWord(
bLow AS BYTE,
bHigh AS BYTE
) AS WORD
public static ushort MakeWord(
byte bLow,
byte bHigh
)
Request Example
View SourceParameters
- 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:
WordRemarks Examples 1? MakeWord(0x01, 0x01)
2? MakeWord(0xFF, 0xFF)
See Also