[Newbies] including Traits in Squeak 3.9g ?
Warakorn Paphrawat
warakorn_paphrawat at yahoo.com
Sun Nov 19 15:44:58 UTC 2006
How can I create a trait from a class in Squeak 3.9 final ?
In previous version I could use e.g. "fromClass: Class1".
(http://www.iam.unibe.ch/~schaerli/smalltalk/traits/traitsPrototype.htm)
In 3.9 final this message is not recognized anymore.
Best regards,
Warakorn
stephane ducasse <stephane.ducasse at free.fr> wrote: Traits are in 3.9 final.
Stef
On 18 nov. 06, at 01:25, Warakorn Paphrawat wrote:
> Hi !
>
> I would like to work with Traits in Squeak 3.9g, too.
> The current VM and Image run very stabble.
>
> The Traits researcher form Bern provide an image 3.9a where Traits
> are included. But this image is terribly unstable and I am
> accustomed now to 3.9g.
> I want to port the Traits functionality to Squeal 3.9g.
> How can I do that ?
>
> The thing is, I read that Traits are included in Squeak 3.9g. I can
> find the Trait classes and categories. But I cannot create
> Traits...the Browser doesn't recognize the term Trait oder named or
> fromClass
> e.g.
> Trait named: #TsomeTrait
> fromClass: someClass
> uses: {something}
> category: 'some_category'
>
> SqueakMap always complains when I want to install Traits.
> I read sth. about loading .mcz files, but the FileList Browser
> doesn't let me to load.
>
> What can I do to make it work ?
> Sponsored Link
>
> $200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home
> equity - Click now for info
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
---------------------------------
Sponsored Link
Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - Calculate new house payment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20061119/7abc0c7f/attachment.htm
More information about the Beginners
mailing list