Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site tjalk.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!vu44!botter!tjalk!dick From: dick@tjalk.UUCP (Dick Grune) Newsgroups: net.lang.c Subject: Re: Proposal for breaking out of multiple loops Message-ID: <359@tjalk.UUCP> Date: Mon, 15-Oct-84 11:34:20 EDT Article-I.D.: tjalk.359 Posted: Mon Oct 15 11:34:20 1984 Date-Received: Wed, 17-Oct-84 08:18:26 EDT References: <3883@decwrl.UUCP> <1569@nsc.UUCP> Organization: VU Informatica, Amsterdam Lines: 20 > Can someone PLEASE tell me what the difference between the current 'goto > label' in C and the proposed 'break label' is? Sounds simply like a goto > under another nane to me.... > -- > From the Department of Bistromatics: Chuq Von Rospach > {cbosgd,decwrl,fortune,hplabs,ihnp4,seismo}!nsc!chuqui nsc!chuqui@decwrl.ARPA The difference between 'goto label' and 'break label' is that 'goto label' goes to the BEGINNING of the statement labelled 'label' and 'break label' goes to the END of the statement labelled 'label'. This also nicely explains the semantics of foo: x++; break foo; :-) :-> :-} Dick Grune Vrije Universiteit Amsterdam "and my name isn't Richard"