Page 1 of 1

Endless loop in OpenStack

Posted: Wed Jul 23, 2014 12:16 pm
by kaveh1000
I have just saved a file with an endless loop bringing up a answer dialog endlessly and in quick succession. When I try command dot (on mac) and catch out the loop, I see an answer dialog with nothing in it, not even an OK button.

How can I get into the stack to edit the script?

Re: Endless loop in OpenStack

Posted: Wed Jul 23, 2014 12:27 pm
by Klaus
Hi Kaveh,

congratulations, we all have been through this at some time :D

One way is to use the message box or a button:
...
## This line does the trick
lock messages
go stack "path to/stack with/endless loop.livecode"
...


Best

Klaus

Re: Endless loop in OpenStack

Posted: Wed Jul 23, 2014 7:09 pm
by kaveh1000
Klaus, I love you. :-)

Re: Endless loop in OpenStack

Posted: Thu Jul 24, 2014 10:55 pm
by Klaus
Hello, Dr. Sailor :D