Path: utzoo!attcan!uunet!aplcen!samsung!cs.utexas.edu!rice!uw-beaver!ubc-cs!alberta!calgary!ksi.cpsc.ucalgary.ca!sharp From: sharp@ksi.cpsc.ucalgary.ca (Maurice Sharp) Newsgroups: comp.lang.smalltalk Subject: super super ? Message-ID: <2160@cs-spool.calgary.UUCP> Date: 24 Nov 89 01:56:20 GMT Sender: news@calgary.UUCP Reply-To: sharp@ksi.cpsc.ucalgary.ca (Maurice Sharp) Organization: Knowledge Science Lab, U. of Calgary, Calgary, Canada. Lines: 35 Does anyone know the solution to the following problem. Assume that there are 3 classes each of which implements a message called foo. Call the classes Class1, Class2 and Class3, where each is a subclass of the other, i.e. : Object Class1 Class2 Class3 The message 'foo' is defined in all three classes. Let us say that Class1 defines it as follows ; foo Transcript cr; show: 'Class1'; cr Class2 defines foo as : foo Transcript cr; show: 'Class2'; cr. super foo THE PROBLEM : I want Class3 to call the foo of Class1 NOT Class2. Is there a way to do this ? Thanx in Advance eciruam Maurice Sharp University of Calgary Computer Science Department 2500 University Drive N.W. sharp@ksi.cpsc.UCalgary.CA Calgary, Alberta, T2N 1N4 ...!alberta!calgary!sharp