logo       

Re: variableWordSubclass:: msg#00124

lang.smalltalk.squeak.beginners

Subject: Re: variableWordSubclass:

dv2 _ DynamicVariable new: 2
So far I've seen the hierarchy of FloatArray the method "new:" isn't on the class side anywhere. This is the reason because you get an error.

#new: is implemented in Behavior which is the superclass of Class.

FloatArray new: 5

is correct for example


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise