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

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:REDIRECTSTDOUT$ to MC-Basic:REDIRECTSTDOUT$: Global renaming of Axystems: namespace into (Main):)
(No difference)

Revision as of 08:40, 22 May 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