Code:WHILE number < 3000 number = number + 1 WENDIf you entered each above code sections with number < 3000, these two conditional loops would operate identically, and number would be incremented until number = 3000.Code:REPEAT number = number + 1 UNTIL number = 3000
BUT, if you entered with number > 2999 Then...
- The WHILE..WEND would not execute, and number would remain the same.
- The REPEAT..UNTIL loop would execute 1 time, and number would be incremented by 1.
HTH,
SteveB




Bookmarks