AmigaOS 4.0 - About OS4 - Commands
||Exits from a script file with a specified return code.
||QUIT <return code>
QUIT stops the execution of a script with the specified return code. The default return code is zero. We recommend
that you use the standard return code values of 5, 10, and 20.
ASK "Do you want to stop now?"
ECHO "OK - The script is continuing."
If you press Y at the prompt, the script is aborted, since WARN is equal to a return code of 5. If you press N, or just
the Return Key, the following message is displayed:
OK - The script is continuing.
Return to Commands Selection
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences
and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held
accountable for any issues that may result from using it.
Copyright © 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.