Difference between revisions of "MC-Basic:REDIRECTSTDOUT$"
(redirect at ES type) |
|||
Line 1: | Line 1: | ||
− | {{Languages|MC-Basic:REDIRECTSTDOUT$}} | + | {{Languages|MC-Basic:REDIRECTSTDOUT$}} |
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 5: | Line 5: | ||
|SYNTAX= | |SYNTAX= | ||
− | RedirectStdOut$'' <task name>'' NewStdOut=<''es number''> | + | RedirectStdOut$ {'' <task name>''} NewStdOut=<''es number''> |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 11: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | Redirects the printouts from the parent entry station of a task to the specified entry station. The ES number can be:<br> | + | Redirects the printouts from the parent entry station of a task to the specified entry station. <br> |
− | + | The ES number can be found at:<br> | |
− | + | * [[MC-Basic:ENTRYSTATIONTYPE|ENTRYSTATIONTYPE]] | |
− | + | ||
+ | if optional <task name> is left empty, redirect applies to the current task.<br> | ||
|TYPE= | |TYPE= |
Latest revision as of 13:42, 22 August 2019
Language: | English • 中文(简体) |
---|
Redirects the printouts from the parent entry station of a task to the specified entry station.
The ES number can be found at:
if optional <task name> is left empty, redirect applies to the current task.
Syntax
RedirectStdOut$ { <task name>} NewStdOut=<es number>
Availability
Since Version 3.7.x
Type
<task name> : String
<es number> : Long
Scope
Task or Terminal
Examples
RedirectStdOut$ “Task1.prg” NewStdOut=1
Or
Common Shared Str1 as String
Str1 = “Task1.prg”
RedirectStdOut$ Str1 NewStdOut=1