goto a no-go?

Dicebot public at dicebot.lv
Tue Oct 1 10:07:55 PDT 2013


On Tuesday, 1 October 2013 at 16:55:12 UTC, Manu wrote:
> Is this D code?
> I've never seen that. If that works, that's awesome!

http://dlang.org/statement.html#BreakStatement

"If break is followed by Identifier, the Identifier must be the 
label of an enclosing while, for, do or switch statement, and 
that statement is exited. It is an error if there is no such 
statement."


More information about the Digitalmars-d mailing list