Etoys: using holders as arrays

Karl Ramberg karl.ramberg at chello.se
Thu Aug 28 08:14:08 UTC 2003



John Voiklis wrote:
> 
> > Holders can only hold players.
> > If you want to store a number you would have to wrap it in a player
> > instance variable for example.
> 
> Hmmm; that's too bad. I was hoping there was some way to read the numeric
> value of Number (bare).

What are you trying to do with these numbers ?

What I have missed sometimes is a way to store positions
of a morph for easy back tracking. 
Maybe using a PolygonMorph and adding vertices would do the trick. 
That would probably meen adding a point data type to eToy system as well.

Karl



More information about the Squeak-dev mailing list