Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> lo return lo order byte of integer pp 143</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LO                    Return Lo Order Byte of Integer                pp 143

 Syntax:  Lo (IntVar) ;

 Type:    Integer

 Form:    Function

 Purpose: Lo order byte of argument becomes lo order byte of result.
          The hi order byte of result is zero.  The result is type Integer.

 Usage:
       VAR
          IntVar : Integer      ;        { Integer argument value }
          Result : Integer      ;        { Integer result         }

       BEGIN
          IntVar := $FF0F       ;        { Set hi and lo argument }
          Result := Lo (IntVar) ;        { Result = $000F         }
       END.

See Also: Hi MsDos Swap

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson