Difference between revisions of "Halt"

From Wiki
Jump to: navigation, search
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 control is returned to the calling script.}}
+
{{body|halt| The ''halt'' command ends the execution of the script. The script cannot be restarted. This command does exactly the same as [[stop]].}}
  
 
==== Example ====
 
==== Example ====

Revision as of 19:08, 28 August 2005

Synopsis

halt

Description

The halt command ends the execution of the script. The script cannot be restarted. This command does exactly the same as stop.

Example

if #findcnt < %amountNeeded
	halt

See also

Main Page Documentation