Continuing a script after cloning a stack

Richard Gaskin ambassador at fourthworld.com
Thu May 23 15:43:57 EDT 2013


Peter Haworth wrote:
> I have a script that clones a substack, followed by some other commands to
> rename the cloned substack and set it's mainstack.  As soon as the clone
> command is issued, control passes to the cloned stack and the rest of my
> script is ignored.

We could expect focus to change to the new stack, but not the script 
stopping altogether.

If locking messages before running your script fixes the problem, this 
may be a bug in the IDE which should be fixed ASAP IMO.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list