Cancelling a script??

Mike Bonner bonnmike at gmail.com
Fri Feb 10 10:09:36 EST 2017


If the loop is tight enough, the keypress never gets through.  I've just
got into the habit of putting an escape hatch into loops that can go wrong.
Something like:
if the environment is "development" and the shiftkey is down then exit to
top
(or if you want the user to have access to the same exit, don't check for
the environment)

Then all you have to do is hold shift and the loop will exit.

On Fri, Feb 10, 2017 at 8:00 AM, Tim Selander via use-livecode <
use-livecode at lists.runrev.com> wrote:

> The documentation says Cmd + . should stop a running script.
>
> I have    set the allowinterrupts to true  in my openstack script. But if
> I get into a long repeat loop, cmd + . does not stop anything.
>
> Community v8.1, OSX 10.9.
>
> Any advice appreciated.
>
> Tim Selander
> Tokyo, Japan
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list