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.
 
 
 
 
 
 

20 lines
473 B

  1. 100 REM Purpose: Verify GOTO line [,...] ON expression
  2. 120 REM Author: Howard Wulf, AF5NE
  3. 130 REM Date: 2015-12-03
  4. 140 REM Note: OPTION VERSION SYSTEM-360
  5. 150 REM
  6. 200 input "X=", X
  7. 210 X = INT( X )
  8. 220 gosub 1100,1200,1300 on X
  9. 230 if X >= 1 and X <= 3 goto 200
  10. 240 print "None of the above"
  11. 250 if X < 0 goto 9999
  12. 260 goto 200
  13. 1100 print "ONE",X
  14. 1110 return
  15. 1200 print "TWO",X
  16. 1210 return
  17. 1300 print "THREE",X
  18. 1310 return
  19. 9999 end