D - for-do-while
- K Sergey (16/16) Oct 16 2002 I sow D specification about for-do-while.
I sow D specification about for-do-while. It's strange. Why is loop label is outside the loop? If I write labelname: op1(); while(...) { ...; break labelname; } I think statements like this should be in a form: do(labelname) { ... } while(cond); for(init;test;incr;labelname) { ... } while(cond;labelname) { ... } switch(expr) { ...; break labelname; } +classic form expresion like: break lablelname; continue labelname; Is look pretty, but stament goto must exist. --------------------
Oct 16 2002