Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: Re: WITH statement Message-ID: <2380@brl-smoke.ARPA> Date: Fri, 18-Jul-86 11:29:46 EDT Article-I.D.: brl-smok.2380 Posted: Fri Jul 18 11:29:46 1986 Date-Received: Sun, 20-Jul-86 06:03:09 EDT Sender: news@brl-smoke.ARPA Lines: 37 Re: WITH statement: The ambiguous condition scares me too, and I think I could live much better with being able to take the address of the thing and then using it, like: recpointer := &recarray[selector]; ... recpointer^.foo := 1; recpointer^.bar := 2; The ambiguity is worse than you might think. I happen to think that all structure members that are logically the same thing ought to have the same name. This was not allowed in original C because structures shared the same name space. On the other hand, you could use any structure member with any structure type. I am glad I learned C after the change. Requiring different names for the same item is another example where C outgrew Pascal. Not only has UMD5 arisen as a MicroVax from its previous incarnation as an 11/44, but I am using a Macintosh Plus and MacKermit to type this in. Congrats. Are we having fun yet? Yow! umd5.UUCP <= {seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben Ben Cranston zben@umd2.UMD.EDU Kingdom of Merryland Sperrows 1100/92 umd2.BITNET "via HASP with RSCS" I still see you don't believe in TABS. (Root Boy) Jim Cottrell Hello... IRON CURTAIN? Send over a SAUSAGE PIZZA! World War III? No thanks!