Vbscript input/output

From wikinotes
Revision as of 00:23, 8 December 2019 by Will (talk | contribs) (Created page with "= Printing = <source lang="vb"> Set fso = CreateObject ("Scripting.FileSystemObject") Set stdout = fso.GetStandardStream (1) Set stderr = fso.GetStandardStream (2) stdout.Wri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Printing

Set fso = CreateObject ("Scripting.FileSystemObject")
Set stdout = fso.GetStandardStream (1)
Set stderr = fso.GetStandardStream (2)

stdout.WriteLine "print to stdout"
stderr.WriteLine "print to stderr"