Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!seismo!husc6!rutgers!dayton!viper!john From: john@viper.UUCP Newsgroups: comp.lang.c Subject: Re: X3J11: Why no labelled loops? Message-ID: <612@viper.UUCP> Date: Mon, 2-Mar-87 14:00:47 EST Article-I.D.: viper.612 Posted: Mon Mar 2 14:00:47 1987 Date-Received: Wed, 4-Mar-87 19:10:31 EST References: <1710@plus5.UUCP> <388@cognos.UUCP> <545@mntgfx.MENTOR.COM> Reply-To: john@viper.UUCP (John Stanley) Distribution: world Organization: DynaSoft Systems Lines: 18 Frank, I -really- like the idea of being able to find the address of a label. There is only one problem I can think of.... You have to come up with a construct for doing an indirect goto... Your example gives a good answer to this... Your solution gives an answer which is consistant with all known (known by me anyway) implementations, corrects a minor inconsistancy in the general semantics of the language (if you can do it with functions, then -why-not- labels too?), and is easily implemented on all machines I know of (more than 30). There are several potential programming situations where I could see a real use for this capability and would like to hear a response on this from any members of the ANSI committiee on C. --- John Stanley (john@viper.UUCP) Software Consultant - DynaSoft Systems UUCP: ...{amdahl,ihnp4,rutgers}!{meccts,dayton}!viper!john