Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!hudson.lm.com!newsfeed.pitt.edu!gatech!swrinde!cs.utexas.edu!utnut!nott!cunews!perlis!valenta
From: valenta@scs.carleton.ca (michael valenta)
Subject: Re: S/V problem
Message-ID: <CxMG11.5Gz@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Reply-To: valenta@scs.carleton.ca
Organization: School of Computer Scince, Carleton University, Ottawa, Canada
References: <macgremd-121094110001@ck43617516z.open.ac.uk>
Date: Thu, 13 Oct 1994 17:17:25 GMT
Lines: 16


In article 121094110001@ck43617516z.open.ac.uk, macgremd@open.ac.uk () writes:
> Problems in chapter 6 of the Smalltalk V  Mac tutorial. On choosing the
> following text, and "do it", I get "Animal Habitat" is not a class:
> 
> Object subclass: #AnimalHabitat 
>          instanceVariableNames:
>            'animals scriptString script browser '
>          classVariableNames: ''
>          poolDictionaries: ''


I think you have to use the "Add Subclass" menu item to add a subclass of Object
and then specify the instance variables as done above.

Mike Valenta
