Clarification in continue statement

Vasileios Anagnostopoulos via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 6 01:37:52 PST 2015


hi,

I observed in the documentation

"If continue is followed by *Identifier*, the *Identifier* must be the
label of an enclosing while, for, or do loop, and the next iteration of
that loop is executed. It is an error if there is no such statement."

But there is no example. Can someone provide one example?

I think break also needs a similar example.


-- 
Dr. Vasileios Anagnostopoulos (MSc,PhD)
Researcher/Developer
ICCS/NTUA 9 Heroon Polytechneiou Str., Zografou 15773 Athens,Greece
T (+30) 2107723404 M (+30) 6936935388
E vanag at mail.ntua.gr<mailto:vanag at mail.ntua.gr> www.ntua.gr<
http://www.ntua.gr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150206/6c9e2ca1/attachment-0001.html>


More information about the Digitalmars-d-learn mailing list