This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

OutputStream

OutputStream["name", n]
is an object that represents an output stream for functions such as Write.
  • The serial number n is unique across all streams, regardless of their name.
List of open streams:
OpenWrite opens a new file and returns an OutputStream object:
Close the stream:
New in 2