Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C Suggestions Message-ID: <1990Oct10.204904.2915@eng.umd.edu> Date: 10 Oct 90 20:49:04 GMT References: <1990Oct7.232419.20984@ida.liu.se> <1990Oct8.154744.15837@nntp-server.caltech.edu> <1990Oct9.171921.29529@mtcchi.uucp> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 16 In article <1990Oct9.171921.29529@mtcchi.uucp> fjo@mtcchi.uucp (2667-Frank Owen(ZG90210)0000) writes: >'p->x' references the member. If 'h' is a handle to the structure, >then '(*h)->x' references the member. > >What's so hard about this? I'd rather stick with standard syntax whenever >possible. You start getting lisplike expressions like (*(*(*thegdev)->gdPMap)->pmTable)->ctTable[i], where thegdev->>gdPMap->>pmTable->>ctTable[i]; is much easier to write and to read. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.