Hi --

On Mon, 18 Aug 2003, Armin Roehrl wrote:

>
> > I know that @@ signified a class variable, and that @
> > signifies an instance variable.
> >
> > Can class variables be called freely as instance
> > variables, or is there a significant difference when
> > declaring a class variable as an instance variable?
> The big difference is that all instances of one class
> share the same class variable, but have their own individual
> instance variable.
>
> If you change a class variable, it will change
> for all instances of that class.

... and all instances of all descendant classes of that class.


David

-- 
David Alan Black
home: dblack / superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav