"Break" and other ways out of loops and switches

wilner at pegasus.UUCP wilner at pegasus.UUCP
Sat Aug 27 02:51:09 AEST 1983

The Burroughs systems implementation language SDL done in 1970
had a parameter on its "break" (nee "undo") statement that specified
how many levels up to break.  It was used rarely, mostly for error
recovery, and was very welcome.  I regret C does not use the elegant 
"loop { ... break ... }" for control constructs.

More information about the Comp.lang.c mailing list