How do I create a subclass

Eric Maximiliano Rodriguez Guevara eguevara at dc.uba.ar
Tue Feb 10 13:57:59 UTC 1998


> 
> I've successfully created my own classes in Squeak, but how do I
> create subclasses underneath them? Doesn't Squeak allow this? How does
> one go about it? Thanks.
> 
> j.e.m.
> 
A message always appears when you click a Class, it's something like

aClass subclass:#ClickedClass
	instanceVariableNames:' '
	category:''
	.....

This is the message to create a new subclass in the form

MyOwnClass subclass:#SubClassUnderneth ....

you just edit this text and accept it.

Bye.

-- 
Eric Maximiliano Rodriguez Guevara
eguevara at dc.uba.ar





More information about the Squeak-dev mailing list