Difference between revisions of "Halt"
From Wiki
Line 1: | Line 1: | ||
− | + | {{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 contorl is returned to the calling script. | |
− | ''' | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==== Example ==== | ==== Example ==== | ||
Line 14: | Line 8: | ||
</pre> | </pre> | ||
− | + | {{footer}} | |
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + |
Revision as of 09:40, 27 August 2005
{{body|halt|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 contorl is returned to the calling script.
Example
if #findcnt < %amountNeeded halt
See also
Main Page | Documentation |