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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Versions 3.7.x and higher" to "Since Version 3.7.x")
Line 12: Line 12:
 
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. The ES number can be:<br>
 
       1 – Ethernet<br>
 
       1 – Ethernet<br>
       2 – DPRAM<br>
 
 
       3 – Virtual Entry Station<br>
 
       3 – Virtual Entry Station<br>
 
       4 – Etherent2
 
       4 – Etherent2

Revision as of 14:32, 9 April 2014

Redirects the printouts from the parent entry station of a task to the specified entry station. The ES number can be:
       1 – Ethernet
       3 – Virtual Entry Station
       4 – Etherent2

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