class instance variables

Ned Konz ned at bike-nomad.com
Fri May 11 16:21:16 UTC 2001


On Friday 11 May 2001 09:23, Yanni Jew wrote:
> Is there ready to use support for class instance variables in Squeak?

Yes, just go into a browser, select a class, and hit the "class" button. 
You'll see something like:

MyClass class
	instanceVariableNames: ''

Just put your instance variable names between the quotes.

MyClass class
	instanceVariableNames: ' classInstanceVariable '

> Are they a good or bad concept (please comment)?

They're good when they're needed, bad otherwise <g>.

There is also support for pool variables.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list