Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxt!mhuxh!mhuxr!mhuxv!mhuxl!mhuxm!mhuxd!mhuxa!houxm!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uiuccsb!grunwald From: grunwald@uiuccsb.UUCP Newsgroups: net.lang.c Subject: Re: 'Break' and other ways out of loops - (nf) Message-ID: <2644@uiucdcs.UUCP> Date: Fri, 26-Aug-83 22:30:58 EDT Article-I.D.: uiucdcs.2644 Posted: Fri Aug 26 22:30:58 1983 Date-Received: Mon, 29-Aug-83 03:12:52 EDT Lines: 19 #R:ihuxq:-30200:uiuccsb:9000001:000:489 uiuccsb!grunwald Aug 26 18:16:00 1983 I've seen other languages which have a "label break", and it does make it a lot easier. Using a "quisi-goto" is better, in my mind, then using a goto. The limited form would tend to reduce the number of errors, I should think. The formats I've seen before (when properly Cified) are: /LABEL/ while ( Condition ) { exit /LABEL/; } exit /LABEL/ -- this would cause an error -- no long in scope dirk grunwald university of illinois ihnp4 ! uiucdcs ! grunwald