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.

Reply via email to