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 / File Input  /
SetStreamPosition

  • SetStreamPosition[ stream , n ] sets the current point in an open stream.
  • The integer n given to SetStreamPosition should usually be a value obtained from StreamPosition.
  • SetStreamPosition[ stream , 0] sets the current point to the beginning of a stream.
  • SetStreamPosition[ stream , Infinity] sets the current point to the end of a stream.
  • See the Mathematica book: Section 2.11.8.