March 2000
Intermediate to advanced
576 pages
18h 13m
English
Hi Function
function Hi(Value: Integer): Byte;
The Hi function returns the most significant byte
of a 16-bit word, ignoring any bits higher than the 16th bit. The
Hi function is not a real function, but is
expanded inline by the compiler.
The Hi function is equivalent to the following
function:
function Hi(Value: Integer): Byte; begin Result := (Value shr 8) and $FF; end;
| Lo Function |
Read now
Unlock full access