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.
 
 
 
 
 
 

52 lines
1010 B

  1. 100 REM Purpose: Verify INPUT statment
  2. 110 REM Author: Howard Wulf, AF5NE
  3. 120 REM
  4. 130 REM
  5. 200 LET N = 0
  6. 210 LET A$ = "123456789012345678901234567890"
  7. 300 PRINT "INPUT B$"
  8. :INPUT B$
  9. :GOSUB 8000
  10. 310 PRINT "INPUT LINE B$"
  11. :INPUT LINE B$
  12. :GOSUB 8000
  13. 320 PRINT "INPUT prompt B$"
  14. :INPUT "prompt" B$
  15. :GOSUB 8000
  16. 330 PRINT "INPUT prompt LINE B$"
  17. :INPUT "prompt" LINE B$
  18. :GOSUB 8000
  19. 340 PRINT "INPUT ; B$"
  20. :INPUT ; B$
  21. :GOSUB 8000
  22. 350 PRINT "INPUT ; LINE B$"
  23. :INPUT ; LINE B$
  24. :GOSUB 8000
  25. 360 PRINT "INPUT prompt ; B$"
  26. :INPUT "prompt" ; B$
  27. :GOSUB 8000
  28. 370 PRINT "INPUT prompt ; LINE B$"
  29. :INPUT "prompt" ; LINE B$
  30. :GOSUB 8000
  31. 7999 GOTO 9999
  32. 8000 REM -------------------------------
  33. 8010 REM PRINT RESULTS
  34. 8020 REM -------------------------
  35. 8030 LET N = N + 1
  36. 8040 PRINT "TESTCASE #";N
  37. 8050 PRINT "LENGTH", "[";A$;"]"
  38. 8060 PRINT LEN(B$) , "[";B$;"]"
  39. 8070 PRINT
  40. 8080 RETURN
  41. 9999 END