MC-Basic:REDIRECTSTDOUT$
Redirects the printouts from the parent entry station of a task to the specified entry station. The ES number can be:
1 – Ethernet
2 – DPRAM
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