cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
kca
kca
Level II

Preferred method to abort JSL script

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

Preferred method to abort JSL script

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.

View solution in original post

2 REPLIES 2
XanGregg
Staff

Preferred method to abort JSL script

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
Level III

Re: Preferred method to abort JSL script

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?

Recommended Articles