Difference between revisions of "Halt"

From Wiki
Jump to: navigation, search
 
Line 1: Line 1:
__NOTOC__
+
{{command header|Flow Control}}
== halt ==
+
{{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.
'''Flow Control'''
+
=== 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 ====
 
==== Example ====
Line 14: Line 8:
 
</pre>
 
</pre>
  
=== See Also ===
+
{{footer}}
{|
+
| Width=200px | [[stop]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Flow_Control|Flow Control]]
+
|}
+

Revision as of 10: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