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.
 
 
 
 
 
 

9 lines
188 B

  1. 1 PRINT "OPTION.BAS -- Test OPTION BASE Statement"
  2. 5 OPTION BASE 1
  3. 10 DIM n(5)
  4. 20 FOR i = 1 to 5
  5. 30 LET n(i) = i + 2
  6. 40 PRINT "The value at position ";i;" is ";n(i)
  7. 50 NEXT i
  8. 60 END