What should be added to C

aglew at ccvaxa.UUCP aglew at ccvaxa.UUCP
Fri May 30 12:56:00 AEST 1986


~> Multi-level breaks

I have never liked breaks with a numeric argument; I cut my teeth on
WATFOR/WATFIV, and I can assure you that they do *not* make things
much clearer.

Why not use the Ada style of putting a label before the loop body - it's
like giving a name to the loop:

	complicated_loop: for(;;) {
	    {{{{{
		break complicated_loop;
	    }}}}}
	}

No, it's not really much different from a goto.

Andy "Krazy" Glew. Gould CSD-Urbana.    USEnet:  ihnp4!uiucdcs!ccvaxa!aglew
1101 E. University, Urbana, IL 61801    ARPAnet: aglew at gswd-vms



More information about the Comp.lang.c mailing list