Thread View: comp.lang.modula2
1 messages
1 total messages
Started by Arcadio A. Sincero Jr.
Sun, 21 Apr 1996 20:32
How to find high and low order bytes of a word?
Author: Arcadio A. Sincero Jr.
Date: Sun, 21 Apr 1996 20:32
Date: Sun, 21 Apr 1996 20:32
17 lines
1082 bytes
1082 bytes
How are the "Hi" and "Lo" functions of Borland Pascal implemented? For those not familiar with those functions, Hi returns the high-order byte of a Word (which, I guess, the Modula-2 equivalent would be CARDINAL), and Lo returns the low-order byte. I'm trying to implement Modula-2 equivalents, and I can't seem to figure it out. Thanks! -- =============================================================================== Arcadio Alivio Sincero, Jr. Sophomore, Computer Science Major at the University of Maryland at College Park Amateur competitive bodybuilder Email: lotu@wam.umd.edu, WWW: http://www.wam.umd.edu/~lotu "D.A.R.E. .... to keep cops of donuts."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads