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

HighByte

Gets the high-order byte of a two-byte integer.

Syntax

HighByte(TwoByteInteger)

TwoByteInteger:

A two-byte integer.

Return Value

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

Related Functions

LowByte, HighWord, LowWord

Example

Variable=HighByte(0x5678);
! Sets Variable to 0x56.

See Also

Math/Trigonometry Functions