Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!ut-sally!seismo!brl-tgr!brl-smoke!ron From: ron@brl-smoke.ARPA (Ron Natalie ) Newsgroups: net.lang.c Subject: Re: Re: break, continue, return, goto Message-ID: <631@brl-smoke.ARPA> Date: Mon, 20-Jan-86 14:20:35 EST Article-I.D.: brl-smok.631 Posted: Mon Jan 20 14:20:35 1986 Date-Received: Thu, 23-Jan-86 21:32:09 EST References: <771@whuxl.UUCP> <9500029@iuvax.UUCP> <806@whuxl.UUCP> <614@baylor.UUCP> Organization: Ballistic Research Lab Lines: 17 > > BREAK, RETURN AND CONTINUE ARE NOT THE SAME AS GOTO, FOLKS. IF THEY WERE, > > THEY'D ALL BE CALLED "GOTO". > > 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. Wonderful, break never works the same way as continue, or else they'd be called the same thing. It is possible to do terribly unstructured things with GOTO, BREAK, RETURN, and CONTINUE, but one should not attempt to enforce structured programming at the language level because it won't work. You can write structured code in any language, and real programmers can code Fortran programs in any language as well. -Ron