Function: kbchar

Syntax

kbchar (<string>)

Type

string

Returns

A single character read from the keyboard.

Parameters

Examples

Get a character without prompting.

string ch = kbchar

Get a character in response to a prompt but discard the value.

kbchar('Hit a key to continue >')