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

Close

Close[stream]
closes a stream.
  • If there is only one stream with a particular name, the argument to Close can be .
Open a stream:
Read from the stream object:
Close the stream:
Open a stream:
In[1]:=
Click for copyable input
Out[1]=
Read from the stream object:
In[2]:=
Click for copyable input
Out[2]=
Close the stream:
In[3]:=
Click for copyable input
Out[3]=
New in 1