Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!wuarchive!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!ml27192 From: ml27192@uxa.cso.uiuc.edu (lanett mark) Newsgroups: comp.sys.mac.programmer Subject: Re: Think C 4.0 evolving to C++ Message-ID: <1991Feb26.181119.191@ux1.cso.uiuc.edu> Date: 26 Feb 91 18:11:19 GMT References: <0.27C5B492@mmug.edgar.mn.org> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 18 rgonzal@elbereth.rutgers.edu (Ralph Gonzalez) writes: >Since it is not supported in C++, you can't use Think C's "inherited" >keyword. You should instead use the name of the base class >explicitly. C++ from Apple has 'inherited' to provide Object Pascal support. It also works for non-TObject objects, and I use it rather than the base name (for single-inheritance) because then I don't get screwed up when I change the base class (which I wouldn't have to do if I thought a little bit ahead :-)) Format: inherited::foo (); >-Ralph >rgonzal@chowder.rutgers.edu -- //----------------------------------------------------------------------------- Mark Lanett ml27192@uxa.cs.uiuc.edu NCSA address: Coming soon!