A goto is actually better than "break 3" because you can modify
inner loops and the goto will still take you to the right place,
the "break 3" would take you to the wrong place if you change the
number of loops. There's nothing wrong with goto in this context
and as others have said we already have break label and continue
label which either break or continue the labelled loop.
- Breaking out of multiple loops Michel Colman
- Re: Breaking out of multiple loops Piotr Szturmaj
- Re: Breaking out of multiple loops monarch_dodra
- Re: Breaking out of multiple loops Regan Heath
- Re: Breaking out of multiple loops monarch_dodra
- Re: Breaking out of multiple loo... monarch_dodra
- Re: Breaking out of multiple loops Jose Armando Garcia
- Re: Breaking out of multiple loops monarch_dodra
- Re: Breaking out of multiple loops Piotr Szturmaj
- Re: Breaking out of multiple loops ixid
