Another "D" idea (Oh no, not again!)

Rich Salz rsalz at bbn.com
Sun Mar 20 03:21:56 AEST 1988


In comp.lang.c (<316 at wsccs.UUCP>), val at wsccs.UUCP (Val Kartchner) writes:
>     I also think that there should be something like "break 'n';" (Where
>     'n' is a constant integer. ...

This is not a safe idea.  Suppose you have some multi-level lopping:
	while () {
	    for () {
		/* while () */
		    while () {
			....
			break 3;
		    }
	    }
	}
What happens if you uncomment the third line?


PLEASE!  Take this discussion elsewhere.  Go use comp.lang.pascal or
something now; this stopped being C specific long ago...
	/r$
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.



More information about the Comp.lang.c mailing list