Translate page

Utility.MakeWord Method

Creates a 2-byte value by concatenating the two byte values.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static ushort MakeWord(
	byte low,
	byte high
)
Visual Basic (Declaration)
Public Shared Function MakeWord ( _
	low As Byte, _
	high As Byte _
) As UShort
Visual C++
public:
static unsigned short MakeWord(
	unsigned char low, 
	unsigned char high
)
JavaScript
JollyGiant.Emulation.Utility.MakeWord = function(low, high);


Parameters

low
Type: System.Byte
The low-order byte of the new value.

high
Type: System.Byte
The high-order byte of the new value.

Return Value

The new 2-byte value.

See Also


Utility Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.