[Newbies] Float variableWordSubclass

Levente Uzonyi leves at elte.hu
Wed Jan 4 20:08:20 UTC 2012


On Wed, 4 Jan 2012, Ben Coman wrote:

> When I define...
>   Float subclass: MyPrefixFloat

I guess you meat Float subclass: #MyPrefixFloat .

>
> why does it get changed to...
>   Float variableWordSubclass: #MyPrefixFloat

Float is already a variableWordSubclass, so its subclasses must also be 
variableWordSubclasses, otherwise the indexable slots would be lost.

>
> and is that just what the Epsilon symbol next to the class is?

What Epsilon symbol?

>
> cheers, Ben
>
> btw, the reason I am doing this is to simplify automating the import of a UML 
> model with a standard prefix for all classes including this "primitive"

Subclassing Float doesn't seem to be a good idea, I'm also not sure if it 
will work (especially with Cog).


Levente

> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list