Difference between revisions of "Call"

From Wiki
Jump to: navigation, search
(Description: Applying template to note)
Line 1: Line 1:
__NOTOC__
+
{{command header|Flow Control}}
== call ==
+
{{body|call {file} [parameter...]|''call'' command will transfer execution to another script. It will run the script until it meets the [[exit]] command or the end of the file.}}
'''Flow Control'''
+
=== Synopsis ===
+
call {file} [parameter...]
+
 
+
=== Description ===
+
The [[call]] command will transfer execution to another script. It will run the script until it meets the [[exit]] command or the end of the file.  
+
  
  
Line 24: Line 18:
 
</pre>
 
</pre>
  
=== See Also ===
+
{{footer}}
{|
+
| Width=200px | [[exit]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Flow_Control|Flow Control]]
+
|}
+

Revision as of 10:41, 27 August 2005

Synopsis

call {file} [parameter...]

Description

call command will transfer execution to another script. It will run the script until it meets the exit command or the end of the file.


Note: Right now EasyUO doesn't really support strings. Therefore, CALL won't work if the path to a file contains any spaces. Use the DOS short filename syntax to get around this problem.


wrong: C:\My Documents\blabla.txt


correct: C:\MyDocu~1\blabla.txt


Example

call subs.txt recall %runebookid %runenum
halt

See also

Main Page Documentation