Scripting 5.8. Quitting

Usually, the execution of your script ends when the interpreter has executed the last line that is not within a procedure definition. However, you can also explicitly stop the script:

exit
stops the execution of the script in the normal way, i.e. without any messages to the user. Any settings window is removed from the screen.
exit error-message
stops the execution of the script while sending an error message to the user. Any settings window will stay on the screen.

For an example, see Scripting 6.8. Messages to the user.

Links to this page


© ppgb, April 14, 2004