Skip to content

User Input Runtime Library

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › User Input (Runtime Library) › User Input (Runtime Library)

User Input (Runtime Library)

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 buffer

Procedures that read individual keys from the keyboard buffer.

Reading values from the keyboard buffer

Procedures that read characters and values from the keyboard buffer.

Detecting key status by keyboard scancode

Procedure that detects the status of a key by its scancode.

Reading values from the keyboard buffer

Input

Reads values from the keyboard buffer.

Line Input

Reads 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

Gets the first key, if any, waiting in the keyboard buffer.

GetKey

Gets and waits for the first key in the keyboard buffer.

Detecting key status by keyboard scancode

MultiKey

Detects the status of a key by its scancode.


Category: User Input (Runtime Library)


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally