Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!motcsd!mcdcup!mcdchg!tellab5!mtcchi!fjo From: fjo@mtcchi.uucp (2667-Frank Owen(ZG90210)0000) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C Suggestions Message-ID: <1990Oct9.171921.29529@mtcchi.uucp> Date: 9 Oct 90 17:19:21 GMT References: <61078@iuvax.cs.indiana.edu> <15524@reed.UUCP> <20912@well.sf.ca.us> <1990Oct7.232419.20984@ida.liu.se> <1990Oct8.154744.15837@nntp-server.caltech.edu> Organization: Memorex Telex Corporation NSBG/STP Lines: 19 palmer@nntp-server.caltech.edu (David Palmer) writes: >Here's a suggestion for the next 'Think C'. Allow the operator '->>' to >dereference handles, just as '->' dereferences pointers. You should be able to use standard C syntax just as easily for this. If 'p' is a pointer to a structure that has a member 'x', then '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. -- Frank Owen (fjo@mtcchi.uucp) 708-305-3182 Memorex-Telex Corporation Indian Hill Court 1000 E. Warrenville Rd. RM 1A315 Naperville, Il 60563