User Input (Runtime Library)
Documentation
Statements and procedures (from runtime library) that get input from the user.Description
These statements and procedures allow access to the keyboard buffer, and provide ways of getting input from the user.
Reading keys from the keyboard bufferProcedures that read individual keys from the keyboard buffer.
Reading values from the keyboard bufferProcedures that read characters and values from the keyboard buffer.
Detecting key status by keyboard scancodeProcedure that detects the status of a key by its scancode.
| Reading values from the keyboard buffer Input Reads values from the keyboard buffer. Line InputReads a line of text from the keyboard buffer. Input()Reads a number of characters from the keyboard buffer, file or device. Winput()Reads a number of wide characters from the keyboard buffer, file or device. | Reading keys from the keyboard buffer Inkey Detecting key status by keyboard scancodeGets the first key, if any, waiting in the keyboard buffer. GetKeyGets and waits for the first key in the keyboard buffer. |