[Squeakland] Contents of Squeakland digest..."

Lenny Pitt pitt at uiuc.edu
Fri Jul 22 12:02:10 PDT 2005


> Awesome.  Thanks so much Bert!  No, I wasn't aware of being able to directly
> drag/drop a script tile into another script, but in hindsight all I can say
> is - DUH.  Now I simply wonder when I would ever want to use the <obj> do
> <script> tile.  I've still got much to learn about Squeak...

The difference is that if you drag the <script> tile, it gets executed in
place, during the current tick.  If you use "do <script>", then it gets
scheduled to execute at the next tick.   For most things, it may not matter,
but if you're doing parallel reads, writes of a variable from different
scripts, it can make a big difference.

... Lenny Pitt



More information about the Squeakland mailing list