MakeWord

Top  Previous  Next

Prototype

 

intValue:=MakeWord(intHiByte,intLoByte);

 

Description

 

Make a 16 bit word from two 8 bit values.

 

Parameters

 

intHiByte: integer value representing the 8 most significant bit of output value

 

intLoByte:  integer value representing the 8 least significant bit of output value

 

Returned Value

 

intValue: integer value representing output

 

Notes

 

None.

 

Example

 

//It makes word

Value:=MakeWord(1,1);

 

//It logs obtained value

ApplicationLog('The number is '+IntToStr(Value));