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

InputStream

InputStream
is an object that represents an input stream for functions such as Read and Find.
  • The serial number n is unique across all streams, regardless of their name.
StringToStream opens an input stream:
List of input streams that are currently opened:
Use Close to close streams:
StringToStream opens an input stream:
In[1]:=
Click for copyable input
Out[1]=
List of input streams that are currently opened:
In[2]:=
Click for copyable input
Out[2]=
Use Close to close streams:
In[3]:=
Click for copyable input
Out[3]=
New in 2