Escaping from Repeat loops
Mark Smith
mark at maseurope.net
Mon Sep 10 22:00:39 EDT 2007
Alejandro, there is a global property "allowInterrupts" that should
be set to true by default - it means that you can escape from runaway
loops by pressing "command period" on a mac or (I think), "control
period" on windows.
If this is not working, then type "set the allowInterrupts to true"
in the message box, and it should then work.
If that fails (though it shouldn't), you can always do something like:
repeat forever
if the controlKey is down then exit repeat
do loop stuff.....
end repeat
so holding down the control key will exit the loop.
Best,
Mark
On 11 Sep 2007, at 01:35, Alejandro Tejada wrote:
> Hi all,
>
> Recently, i have been practising a new skill
> (at least for me): parsing and display xml files.
>
> But some xml files are from perfect (lacking closing
> tags or with repeated tags or missing starting tags)
> and frecuently send my code in a loop that requires
> to force quit the Development environment.
>
> What are my options to escape from these unending
> loops
> without having to force quit my application?
>
> Thanks in advance.
>
> al
>
> Visit my site:
> http://www.geocities.com/capellan2000/
>
>
>
> ______________________________________________________________________
> ______________
> Be a better Heartthrob. Get better relationship answers from
> someone who knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list