[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Hi                       Returns High-Order Byte of an Integer

 Hi(IVal : Integer) : Integer;                                           [TP]

    Returns the high-order (upper) byte of IVal.

            IVal    Any integer expression.

           Note:    The low-order byte of the result will contain the
                    high-order byte of IVal. The high-order byte of the
                    result will be 0.

  -------------------------------- Example ---------------------------------

           I := Hi(19);             { I =   0 }
           I := Hi(8192);           { I =  32 }
           I := Hi($9211);          { I = 146 = $92 }

See Also: Lo Swap
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson