Break out of a while loop that contains a switch statement

I’d try to avoid it, but you could use…

goto

However, angry mobs with pitchforks become an occupational hazard if you choose to do so.

Leave a Comment