Returns a string, depending on whether a key is being pressed or not. If a key is depressed, that STRING will be returned. If no key is being pressed, the null string ("") will be returned. Note that the "$" sign is optional.
Program Example.
00100 REM The KEY$ function
00110 AO$ = KEY$ : IF AO$ = "" THEN 110
00120 PRINT A0$;
00130 GOTO 110
00140 END
See also INPUT