Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!news From: d88-jwa@dront.nada.kth.se (Jon W{tte) Newsgroups: comp.sys.mac.programmer Subject: Re: removing objects from THINK CList class Message-ID: <1991Jan22.190406.25605@nada.kth.se> Date: 22 Jan 91 19:04:06 GMT References: <1991Jan20.180309.2791@fennel.cc.uwa.oz.au> <1991Jan21.201714.886@iitmax.iit.edu> Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 15 In article <> soudan@iitmax.iit.edu (Bassel Soudan) writes: > What I ended up doing was write a RemoveAll method and add it to the >CList class. In this method I saved the number of objects in a local variable What's this ? You needn't fdo that - just subclass the class with your method added - most parts of the TCL can be modified by subclassing and overriding, which is what OOP is all about. One sad omission is the construction of the switchboard (if you for instance want to implement macros...) h+ Jon W{tte, Stockholm, Sweden, h+@nada.kth.se :: This article is fake. If you take it for real, the _REAL_ :: Jon W{tte will sue you for slander. So there ! Nyah ! :-)