| READCHAR (RC) | |
| Syntax | READCHAR RC (READCHAR channel) |
| Explanation | READCHAR reports the first character from the input stream. If no character is waiting to be read and the input stream is the Listener, READCHAR waits for input from the Listener.
A channel number may be entered as an optional input. If present, READCHAR reads from that channel instead of reading from the input stream. This makes it easier to switch among multiple input streams. |
| Examples | The procedure below can be used to pause between a series of procedures, such as a game, and wait for user input.
TO HOLDUP |