
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BHELP On-Line: CBRIEF Macro Help - read_char ()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
read_char ()
Usage: Read a keystroke from the keyboard buffer (if one is
available). This function always returns immediately,
with or without a valid key (see below).
Parameters: None
Returns: The ASCII value .int. of the keystroke in the low order
byte, and the scan code in the high order byte. If no
keystroke is available, -1 is returned. If the character
was a special function code, the low order byte is 0 and
the scan code is in the high order byte (see IBM Technical
Reference or use the key macro to get scan codes).
See Also: inq_kbd_char inq_kbd_flags
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson