ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
258 B

  1. 10 REM 'INKEY$' TEST PROGRAM
  2. 20 CLS
  3. 30 PRINT "PRESS ANY KEY ON THE KEYBOARD"
  4. 40 A$=INKEY$
  5. 50 IF A$="" GOTO 40
  6. 60 PRINT "YOU HAVE JUST PRESSED THE ";A$;" KEY"
  7. 70 PRINT:PRINT "PRESS THE ";A$;" KEY AGAIN TO START OVER"
  8. 80 IF INKEY$=A$ GOTO 20
  9. 90 GOTO 80
  10. 99 END