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.
 
 
 
 
 
 

14 lines
239 B

  1. 10 REM WHILWEND.BAS -- Test WHILE-WEND Loops
  2. 20 PRINT "START"
  3. 30 LET X = 0
  4. 40 WHILE X < 25
  5. 50 PRINT "x is ";X
  6. 60 LET X = X + 1
  7. 70 LET Y = 0
  8. 80 WHILE Y < 2
  9. 90 PRINT "y is "; Y
  10. 100 LET Y = Y + 1
  11. 110 WEND
  12. 120 WEND
  13. 130 PRINT "END"