AT&T 6300 Programmer's Manual page 293

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Syntax
Remarks
INKEY$
Function
Returns either a one or two character string
read from the keyboard. INKEY$ is always
used in a program.
INKEYS
INKEY$ returns one of the following values:
• a null string if no character is read from the
keyboard
• a one-character string in accordance with a
single character read from the keyboard
• a two-character string in accordance with an
extended ASCII code. The first character is
zero; the second indicates the scan code of the
key pressed (refer to Appendix C; Extended
Codes).
Although more than one character may be
pending in the keyboard buffer, a single
character only will be read. This value must
then be assigned to a variable before it is used
by the GWBASIC program.

Advertisement

Table of Contents
loading

Table of Contents