qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Hi and Lo Functions
  ◄Summary► ◄Details► ◄Example►                                   ◄Back►
 
  Argument
 
    argument    Integer or word expression
 
  Return
 
    Byte        Value in high or low byte of argument
 
  Description
 
    The Hi function returns the high-order (most significant) byte of
    an integer or word. The Lo function returns the low-order (least
    significant) byte. The return values are unsigned and in the
    range 0..255.
 
    Use the Swap function to exchange the values in the two bytes.