Hi looking to see if I can get some help with stopping my script after it reaches a certain point. Can someone please point me in the right direction? Here is an example of my code.
Scripts starts
Message box to continue or abort
if choose Y to continue, goes to label "continue"(runs main code)
else N goes to label "finalend" at end of script
So the script runs all the way through, but I want to stop my script before the running script reaches that label "finalend". Is there something I can use to stop the script after it completes the part I want it to finish?
Thanks
code for stopping script during run without abort SOLVED
Moderators: Dorian (MJT support), JRL
code for stopping script during run without abort SOLVED
Last edited by Esabik on Thu Oct 12, 2017 1:23 pm, edited 1 time in total.
Just when you thought it was safe to go in the water........
Re: code for stopping script during run without abort
You can use the Exit> function on any line. When that line is processed the script stops.
Re: code for stopping script during run without abort
that worked perfect. Thanks!!!!
Just when you thought it was safe to go in the water........