Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!psuvm!cxt105 From: CXT105@psuvm.psu.edu (Christopher Tate) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C Suggestions Message-ID: <90283.224058CXT105@psuvm.psu.edu> Date: 11 Oct 90 02:40:58 GMT Organization: Penn State University Lines: 19 A better solution to this "problem" (that is, trying to get C to automagically dereference repeated handle references for speed) is not to extend C's operator set (which brings up all those nasty problems of parsing that people have been screaming about recently :) -- instead, why not just extend C to have a construct similar to Pascal's WITH statement? Personally, I find this one of the most glaring omissions in C. It's pretty icky to have to type 17 lines of "(**myHandle).whatever = something;" instead of a nice pretty "WITH myHandle^^ do begin....end." And, since it's a bracketed construct, C has an easy time figuring out when to do the dereferencing. Maybe we should move this discussion to comp.lang.c, where it belongs.... ------- Christopher Tate | "The soldier came knocking upon the Queen's door; | He said 'I am not fighting for you anymore....'" cxt105@psuvm.psu.edu | cxt105@psuvm.bitnet | -- Suzanne Vega