WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Shouldn't continue in my else statement return me to the top do...while loop and print the following again?
Sorry, my mistake. No, the continue sends you to thebottom of the loop.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
First figure out why the loop exits. Then before the continue , defeat the exit condition.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Look at the do-while . What causes the loop to exit?
Then look at the if with the continue . Is there a correlation?
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
:icon_rolleyes:
So you didn't bother with my questions at all and just made a convoluted while statement? Then all you can say is "something is wrong -- go find it and tell me what to do"?
I don't think so...
I realize you're probably frustrated (so am I), but if you had followed my posts you might have learned something about how to debug your code.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944