Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: the 'broken' statement Message-ID: <3246@utzoo.UUCP> Date: Tue, 11-Oct-83 19:40:27 EDT Article-I.D.: utzoo.3246 Posted: Tue Oct 11 19:40:27 1983 Date-Received: Tue, 11-Oct-83 19:40:27 EDT References: <301@ihuxa.UUCP> Organization: U of Toronto Zoology Lines: 11 Alas, Mr. Dixon, you have misunderstood Wulf's "FIRST" loop. The "not found" part is not executed for each iteration where the condition is not satisfied -- it is executed ONCE if the loop ends without finding anything that satisfies the condition. You can't do this in C without using a goto, introducing an auxiliary variable, or breaking the whole thing out into a separate function so you can use return. As I said, it is far too late to introduce this into C, which is how I feel about most of the suggested changes to C. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry