Breaking out of labeled statements

rbk at sequel.UUCP rbk at sequel.UUCP
Thu Aug 25 01:43:38 AEST 1983


When I was at the U. of Wisconsin and took the compiler course, we created
a compiler for a language called "NOGO-III" (ie, 3rd version of a goto-less
language).  It supported the labelled "break" and "continue", was quite
reasonable, and eliminated almost all need for gotos (in fact, since there
was no goto, you were stuck if you thought you needed one).  I have always
been disappointed that C didn't support such a feature.  Maybe it should be
added to various "standards" or future versions of the language...
-- 
	Bob Beck
	Sequel Computer Systems
	...ogcvax!sequel!rbk
	(503)627-9809



More information about the Comp.lang.c mailing list