MakeShort Function | |
Create a Short from two bytes
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION MakeShort(
bLow AS BYTE,
bHigh AS BYTE
) AS SHORT
public static short MakeShort(
byte bLow,
byte bHigh
)
Request Example
View SourceParameters
- bLow
- Type: Byte
The number you want to have in the Low byte of the Short - bHigh
- Type: Byte
The number you want to have in the High byte of the Short
Return Value
Type:
ShortRemarks Examples 1? MakeShort(0x01, 0x01)
2? MakeShort(0xFF, 0xFF)
See Also