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

OutputStream

OutputStream
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:
List of open streams:
In[1]:=
Click for copyable input
Out[1]=
 
OpenWrite opens a new file and returns an OutputStream object:
In[1]:=
Click for copyable input
Out[1]=
Close the stream:
In[2]:=
Click for copyable input
Out[2]=
New in 2