Hello
I am looking for an hotkey, that interrupts a script. For example, when I try out a script, I make mistakes, so I have programmed an endless loop. When this happened, LiveCode is hanging. When I programmed formerly in QuickBasic, there was Shift F5 or F5 to stop the code. But here I do not find anything. I must kill LiveCode with Taskmanager and the code is lost.
Hotkey to interrupt script
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Hotkey to interrupt script
Control+period (Windows and Linux) or Command+period (Mac)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Hotkey to interrupt script
Sometimes you can get yourself in so deeply that even Cmd-period does not work. I always try to put an escape into the mix, something like(pseudo/comico):
I must admit that, more than once, I have had to quit LC to remember to add such a thing.
Craig Newman
Code: Select all
repeat until the sun burns out
if the optionKey is down then exit to top
loop everywhere
keep looping
loop back to the beginning
end repeat
Craig Newman