Endless loop in OpenStack

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Endless loop in OpenStack

Post by kaveh1000 » Wed Jul 23, 2014 12:16 pm

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?
Kaveh

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Endless loop in OpenStack

Post by Klaus » Wed Jul 23, 2014 12:27 pm

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

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Re: Endless loop in OpenStack

Post by kaveh1000 » Wed Jul 23, 2014 7:09 pm

Klaus, I love you. :-)
Kaveh

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Endless loop in OpenStack

Post by Klaus » Thu Jul 24, 2014 10:55 pm

Hello, Dr. Sailor :D

Post Reply