Subscribe Bookmark RSS Feed

Preferred method to abort JSL script

kca

Community Trekker

Joined:

Nov 22, 2011

How can I tell JSL to stop executing a script?  I would like to know both the programmatic way and the keyboard shortcut way if possible.  I don't want to close JMP.

Thanks for your help!

Update: Digging around the scripting guide I found that Stop() stops a running script, and ESC does the same thing in the editor.

1 ACCEPTED SOLUTION

Accepted Solutions
XanGregg

Staff

Joined:

Jun 23, 2011

Solution

A related function is Throw(), which can be useful if you only want to abort part of the script. Combine it with Try() to control recovery.

2 REPLIES
XanGregg

Staff

Joined:

Jun 23, 2011

Solution

A related function is Throw(), which can be useful if you only want to abort part of the script. Combine it with Try() to control recovery.

jorgeramosdealm

Community Trekker

Joined:

Feb 20, 2012

From the manual

Infinite Loops

For loops that always evaluate as true create an infinite loop, which never stops. To end the loop as the script runs, press ESC on Windows (or COMMAND-PERIOD on Macintosh).


How do you start it again?