[squeakland] Re: stop script continues to execute current script
Bert
squeakland-forum at squeakland.org
Thu Nov 12 05:00:59 EST 2009
mrsteve wrote:
> Here is a simple example of the problem: I create a simple two line script, the first line stop's the script, the second hides the object.
> Below is the textual version of the script.
> script1
> self stopScript: #script1.
> self hide1
>
> The problem is even though the stop script is first the lines after the stop script still gets executed.
>
> Is this the way Stop (and Pause) are supposed to work?
Yes - start and stop just affect the script's "ticking" status. Scripts always run to completion, they are not interrupted in the middle.
-------------------- m2f --------------------
(from forum)
http://squeakland.org/forums/viewtopic.php?p=12692#12692
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/squeakland/attachments/20091112/717ec390/attachment.html
More information about the squeakland
mailing list