Difference between revisions of "Call"

From Wiki
Jump to: navigation, search
m (rem version info)
Line 1: Line 1:
 
{{command header|Flow Control}}
 
{{command header|Flow Control}}
 
 
{{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.}}
 
{{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.}}
  
Line 19: Line 18:
 
</pre>
 
</pre>
  
 +
== Releated Commands ==
 +
{| style="background:gainsboro; color:black; border: 2px #aaa solid;"
 +
| Width=250px align=center | [[Exit]]
 +
|}
 
{{footer}}
 
{{footer}}

Revision as of 10:25, 3 August 2007

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

Releated Commands

Exit

See also

Main Page Documentation