Questions tagged [do-while]
Use for questions about `do while` loops, which are like while loops except it checks the condition only after the first iteration.
2 questions
9
votes
1
answer
519
views
Parsing `do`-`while`, `while`-`do`-`end` and `do`-`end`
Consider the Lua programming language, which has the following constructs involving the keywords do and end:
...
18
votes
7
answers
1k
views
What are the pros and cons of having do ... while loops?
One somewhat rarely used, but still occasionally handy, feature of many programming languages is do ... while loops:
...