[Newbies] variableWordSubclass:

Frank Urbach frank.urbach at schmees.com
Mon Jun 26 13:32:21 UTC 2006

Hi Joaquin,

>I wish to create a subclass of FloatArray for a dynamic system simulation. When creating the class with #subclass: the method is automatically changed to #variableWordSubclass: as follows

I think the the expression "ArrayedCollection subclass: #DynamicVariable" is the right way you get a subclass of FloatArray.

>FloatArray variableWordSubclass: #DynamicVariable
>That is fine. But when I wish to create an instance
>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.  

Hope this helps.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20060626/de6ca277/attachment.htm

More information about the Beginners mailing list