Difference between revisions of "MC-Basic:REDIRECTSTDOUT$"

From SoftMC-Wiki
Jump to: navigation, search
(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>
       1 – Ethernet<br>
+
The ES number can be found at:<br>
       3 – Virtual Entry Station<br>
+
* [[MC-Basic:ENTRYSTATIONTYPE|ENTRYSTATIONTYPE]]
       4 – Etherent2
+
 
 +
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

See Also