[comp.lang.smalltalk] superclass of an object

khaw@pplace.COM (Mike Khaw) (03/29/89)

<1721@scubed.UUCP>, by warner@s3snorkel.ARPA (Ken Warner):
-> Along the same lines, how does one find out the super-class so that one
-> can access the super class-pool variables without explicitly stateing
-> the name of the super class.  I recently had to do this and I couldn't
-> figure out how to do this without hard-wireing the name of the
-> super-class.
-> 
-> The message;
-> super class 
-> is the same as;
-> self class.
-> 
-> Ken Warner

Use:

	self class superclass

Mike Khaw
ParcPlace Systems Technical Support
-- 
E-Mail:	Internet=khaw@parcplace.com, UUCP={uunet,sun,decwrl}!pplace!khaw
USPS:	Parcplace Systems, Inc., 2400 Geng Road, Palo Alto, CA 94303
Phone:	(415) 859-1052