MakeLong

Top  Previous  Next

Prototype

 

intValue:=MakeLong(intHiWord,intLoWord);

 

Description

 

Make a 32 bit word from two 16 bit values.

 

Parameters

 

intHiWord: integer representing 16 bit most significant bit of output value

 

intLoWord:  integer representing 16 bit least significant bit of output value

 

 

Returned Value

 

intValue: integer value representing output

 

Notes

 

None.

 

Example

 

Value:=MakeLong(1,1);

 

//show value

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