> How do you implement do while loops?
loop {
...body
if (condition)
break;
} loop {
...body
if (condition)
break;
} loop: {
...body
if (!conditon)
goto loop;
}
What separates loop syntax from goto is explicit syntax for the condition. When you give that up, why do you have loop at all?Otherwise you get one iteration even if your condition was false to begin with?