Cicode Programming Reference > Cicode Function Categories > Math and Trigonometry Functions Introduction > HighWord

HighWord

Gets the high-order word of a four-byte integer.

Syntax

HighWord(FourByteInteger)

FourByteInteger:

A four-byte integer.

Return Value

The high-order word (that is | X | X | - | - |)

Related Functions

LowWord, HighByte, LowByte

Example

Variable=HighWord(0x12345678);
! Sets Variable to 0x1234.

See Also

Math/Trigonometry Functions