This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Data Reading Options  /

  • InputStream[" name ", n ] is an object that represents an input stream for functions such as Read and Find.
  • OpenRead returns an InputStream object.
  • The serial number n is unique across all streams, regardless of their name.
  • StringToStream returns an object of the form InputStream[String, n ].
  • See the Mathematica book: Section 2.11.3.
  • See also: $Input, Streams, OutputStream.