Breaking out of multiple loops
Piotr Szturmaj
bncrbme at jadamspam.pl
Wed Sep 5 05:44:01 PDT 2012
Michel Colman wrote:
> I have a very simple suggestion for breaking out of nested loops.
I think it's already there: 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