Difference between revisions of "Call"
From Wiki
(→Call) |
(→Description) |
||
Line 8: | Line 8: | ||
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. | 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. | ||
− | Note: | + | ''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. | 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 | wrong: C:\My Documents\blabla.txt | ||
− | correct: C:\MyDocu~1\blabla.txt | + | correct: C:\MyDocu~1\blabla.txt'' |
==== Example ==== | ==== Example ==== |
Revision as of 13:36, 13 August 2005
call
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.
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
exit |
Main_Page | Documentation |