can't edit...while it is executing

Richard Gaskin ambassador at fourthworld.com
Wed Jun 14 19:43:25 EDT 2017


Mark Wieder wrote:
> Did we ever figure out how to deal with the "can't <do anything> with 
> this script while it is executing" problem?
> 
> I've had to force-quit the IDE several times over the last few days due 
> to a script error. My own errors, but this halt-and-catch-fire mode 
> prevents me from correcting them without killing and resurrecting LC. 
> Fortunately I've gotten into the habit of saving every time I edit 
> anything, so I haven't lost any code, but I'm annoyed that the system is 
> so unstable that I have to do that.

The traditional xTalk solution for this is Cmd-./Ctrl-,. which safely 
exits to top with a notification the the script was aborted.

It worked that way in HC, SC, and IIRC every other xTalk I've used, even 
in the middle of a loop calling "answer".

This escape is partially implemented in LiveCode, but there are cases 
(like calling "answer" in a loop) where it isn't yet.

It would be a VERY useful addition to this xTalk dialect to have feature 
completion on this.

I'm guessing there's something about the LC engine that makes this 
harder to do than in any other xTalk.  I don't know what that challenge is.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list