Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8206 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

A "halt" statement halts all scripts and leaves you wherever you are when the statement is encountered. If you want to go to a particular layout/state/found set/etc., you must perform the script steps you need to accomplish this before executing the halt.

-bd

Posted

Exit Script - Exits current script and returns to previous script

Halt Script - Halts ALL scripts at current point

Personally I ALWAYS use "perform sub scripts", but it is possible just to chain sripts together by turning off this feature.

It's not a good practise to "Halt" a script, I don't do it because my scripts rely upon "proper" completion

Posted

I disagree with Mark. Halting all scripts is useful in some circumstances. I validate some of the user's answers in a script maybe 2 levels down. If an answer is wrong, he gets an error message and the script halts on the current layout, so he can fix the error. In this case, exiting a script is the wrong solution since the script above will continue processing.

Posted

When I don't want the script to continue until input is validated, I enclose the data entry in a loop with an Exit Loop If step.

Posted

Thanks for all the replies. I want to use it because my FM checks e-mail at regular intervals. If it can't connect to the server to send the mail, i want it just to stop everything, other i could have the problem of it thinking that it connected and set everything to sent when it's not. I know i could set up a bunch of error scripts, but this is much easier. At at this point, no data has been changed except for a POP/SMTP result.

THanks

Posted

I found this subject line amusing.

Whether the script event being run is one of sub-scripts or one of scripts-chained-together, ScriptMaker is handling only one script event at a time. It is single-threaded. Put another way, there can be only one running script.

Posted

It is definitely true that you can have only one script running at time, but there might be as many as you want paused scripts. So halt would exit them all.

Dj

This topic is 8206 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.