[AmigaOS 3.1 Command Reference\Quit]
Format: QUIT [<return code>]
Purpose: To exit from a script file with a specified return code.
QUIT is used to stop the execution of the script upon the specified return
code. The default return code is zero. It is recommended that you use the
standard return code values of 5, 10 and 20.
ASK "Do you want to stop now?"
ECHO "The script is continuing."
If you press Y at the prompt, the script will be aborted, as WARN is equal
to a return code of 5. If you press N or press Return:
The script is continuing.
Will be displayed in the Shell window.
Converted from AmigaGuide to HTML by Jaruzel