break, continue, return, got

geoff at ISM780B.UUCP geoff at ISM780B.UUCP
Tue Jan 21 00:37:00 AEST 1986


> > my code is perfectly well thought out and structured.  If you think it's
> > not just *BECAUSE* it uses continue/return/break, you're being too hasty.
>
> More fuel. I just (Wednesday) went through & put gotos into the main
> program of all my little utilities. Why? Because "break" doesn't work
> the same way as continue when you're inside a switch.

???????  What ever gave you the idea that "break" *should* work the same
way as "continue" when inside a switch?  Maybe I'm missing something, but
I can't think of any cases where break and continue *do* work the same way.

	Geoffrey Kimbrough -- Director of Dangerous Activities --
	INTERACTIVE Systems Corporation, Santa Monica California.
	    {decvax!vortex || ihnp4!allegra!ima}!ism780!geoff

			What do batteries run on?



More information about the Comp.lang.c mailing list