[Etoys] Possible bug with etoy tile variables
karlramberg at gmail.com
Tue Jun 17 16:23:47 EDT 2008
K. K. Subramaniam wrote:
> On Saturday 14 Jun 2008 3:37:26 pm Karl Ramberg wrote:
>> To reproduce make two variables for a morph.
>> Make a assignment script for one of them.
>> Pull out the name part of the second variable and try to drop it on the
>> name part of the one in the script.
> I have never been able to do that even with Squeakland image. I thought this
> was because the variable tile is a getter, not a setter. It can only be
> dropped on the right hand side of an assignment. Why would this be a bug?
It's a problem that is so easy to do when you type in the commands but
so hard when moving tiles. It's a hassle to reproduce long long
expressions to just change the receiver.
I found a kind of workaround though, if the variable name is the same
for two players you can drop just the name tile to change the receiver.
> I suppose it should be possible to pick up the setter from the slot definition
> and create a setter tile on the fly.
More information about the Etoys