Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site sjuvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!sjuvax!jss From: jss@sjuvax.UUCP (J. Shapiro) Newsgroups: net.lang.c Subject: Re: Re: C Indentation Survey Results (long...) Message-ID: <1146@sjuvax.UUCP> Date: Sun, 12-May-85 02:44:07 EDT Article-I.D.: sjuvax.1146 Posted: Sun May 12 02:44:07 1985 Date-Received: Mon, 13-May-85 03:21:00 EDT References: <9930@brl-tgr.ARPA> <381@busch.UUCP> <5497@utzoo.UUCP> <5557@utzoo.UUCP> <1472@orca.UUCP> <497@umd5.UUCP> <24@denelvx.UUCP> Organization: St. Joseph's University, Phila. PA. Lines: 19 > > And (as long as we are sharpening axes here) if you were programming in > > PASCAL you could put the sucker in a WITH DEVICE clause and get rid of all > > those "device->" references. AND, it would be more efficient since the > > reference would only be evaluated once, at the WITH clause (clearly compiler > > optimization in C compilers would have a bearing on this). > > -- > > Ben Cranston ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben zben@umd2.ARPA I have yet to neet a pascal compiler which correctly handled with device do foo := foo; where device.foo foo is a fieldname of device and foo is also a local variable name. With mnemonic names this happens fairly often. I therefore NEVER use this, as I can never be sure it is doing what I want... Jon Shapiro Haverford College