Difference between revisions of "Halt"
From Wiki
Line 1: | Line 1: | ||
{{command header|Flow Control}} | {{command header|Flow Control}} | ||
− | {{body|halt|The ''halt'' command ends the execution of the script. If this command is used from a [[call]]ed script, only the secondary script that was called is exited however, and | + | {{body|halt|The ''halt'' command ends the execution of the script. If this command is used from a [[call]]ed script, only the secondary script that was called is exited however, and control is returned to the calling script.}} |
==== Example ==== | ==== Example ==== |
Revision as of 09:40, 27 August 2005
Synopsis
halt
Description
The halt command ends the execution of the script. If this command is used from a called script, only the secondary script that was called is exited however, and control is returned to the calling script.
Example
if #findcnt < %amountNeeded halt
See also
Main Page | Documentation |