Exit
The Exit function terminates the script and, optionally, lists a message in the Script Messages window.
Exit( sMsg=nil ) |
IfsMsg is unspecified, it is considered nil and is unused. This syntax simply quietly leaves the script.
IfsMsg is provided, the message is printed in the Script Messages window before exiting the script.
The Exit function leaves the script immediately. You can use it anywhere in a script or in a function called by the script. In comparison, the Assert function tests an argument and exits the script only if the argument tests false.
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.