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

SetStreamPosition

SetStreamPosition[stream, n]
sets the current point in an open stream.
Open a stream:
Read the first number from the stream object:
Modify the current point in the stream:
Read a number from the stream object:
Close the stream:
Open a stream:
In[1]:=
Click for copyable input
Out[1]=
Read the first number from the stream object:
In[2]:=
Click for copyable input
Out[2]=
Modify the current point in the stream:
In[3]:=
Click for copyable input
Out[3]=
Read a number from the stream object:
In[4]:=
Click for copyable input
Out[4]=
Close the stream:
In[5]:=
Click for copyable input
Out[5]=
New in 2