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.
 
 
 
 
 
 

25 lines
1.9 KiB

  1. FORNEXT.BAS: Test FOR-NEXT Statements
  2. A FOR-NEXT Loop with STEP statement:
  3. FOR: i is 1
  4. FOR: i is 3
  5. FOR: i is 5
  6. FOR: i is 7
  7. FOR: i is 9
  8. FOR: i is 11
  9. FOR: i is 13
  10. FOR: i is 15
  11. FOR: i is 17
  12. FOR: i is 19
  13. FOR: i is 21
  14. FOR: i is 23
  15. FOR: i is 25
  16. FOR: i is 27
  17. FOR: i is 29
  18. A FOR-NEXT Loop without STEP statement:
  19. FOR: i is 2
  20. FOR: i is 3
  21. FOR: i is 4
  22. FOR: i is 5
  23. FOR: i is 6
  24. FOR: i is 7