How do you stop execution of a script? I prompt the user with a confirm box and if the user clicks no, I want to stop running the script. Should be simple enough but I can't seem to stop the script.
Here is an example...
var result = Window.confirm ("Do you want to quit?", false, "Please choose");
if(result) return; //User wants to quit
alert("User does not want to quit\rNow can run the rest of the program");
Retrieving data ...