Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!necntc!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Question on structures Message-ID: <1594@haddock.ISC.COM> Date: Tue, 3-Nov-87 12:04:41 EST Article-I.D.: haddock.1594 Posted: Tue Nov 3 12:04:41 1987 Date-Received: Sat, 7-Nov-87 04:26:49 EST References: <1025@phoenix.Princeton.EDU> <2986@mit-vax.LCS.MIT.EDU> <5673@weitek.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 8 In article <5673@weitek.UUCP> rober@weitek.UUCP (Don Rober) writes: >This C solution [of declaring a struct pointer to simulate Pascal's "with"] >... is worth whatever the cost may be. The cost (relative to the equivalent Pascal program) may even be zero. At least one Pascal compiler implements the "with" statement in exactly this way. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint