Table of Contents

Advertisement

INKEY$
Purpose
Displays the keyboard character which was depressed.
Form
INKEY$
Description
(1) If no key is pressed, it returns the null string.
Example
>10 PRINT "BASIC"
>20 IF INKEY$="" THEN 20
>30 PRINT "END"
This processing procedes to
the next display if a key is
pressed.
>RUN
BASIC
END
3-91

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents