Breaking out of labeled statements

Rik Smoody riks at shark.UUCP
Fri Aug 26 05:58:21 AEST 1983

I just don't see that a lot of gibberish with setbreak(someflag),
testbreak(someflag), multibreak(someflag), and several
occurrences of breakout(soemflag) is any more clear for
human readers, any more efficient for computers, or any easier for
a compiler to handle than a simple GOTO.

The suggestion of a labelled break, on the other hand, seems to simplify
and eliminate both the harm of a goto and the need to use them.

More information about the Comp.lang.c mailing list