Input

OpenTuring

Input

Description   This unit contains the predefined procedures that deal with handling input on a character-by-character basis.

All routines in the Input module are exported unqualified. (This means you can call the entry points directly.)

Entry Points  
getch Gets the next character in the keyboard buffer (procedure with a string (1) argument).
hasch Returns true if there are characters waiting in the keyboard buffer.
getchar Gets the next character in the keyboard buffer (function returning a char).
Pause Waits for a key to be pressed.
KeyDown Detect which keys are currently pressed.
Flush Empty the keyboard buffer.