DOCUMENTATION CENTER SEARCH
Mathematica
>
Low-Level File Operations
>
Built-in
Mathematica
Symbol
Searching Files
Streams and Low-Level Input and Output
Tutorials »
|
SetStreamPosition
Skip
Find
FindList
See Also »
|
Low-Level File Operations
More About »
StreamPosition
StreamPosition
[
stream
]
returns an integer which specifies the position of the current point in an open stream.
MORE INFORMATION
On most computer systems, the integer returned by
StreamPosition
gives the position counting from the beginning of the file in bytes.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Open a stream:
In[1]:=
Out[1]=
Read the first number from the stream object:
In[2]:=
Out[2]=
The position counting from the beginning of the stream:
In[3]:=
Out[3]=
Close the stream:
In[4]:=
Out[4]=
SEE ALSO
SetStreamPosition
Skip
Find
FindList
TUTORIALS
Searching Files
Streams and Low-Level Input and Output
MORE ABOUT
Low-Level File Operations
New in 2
© 2008 Wolfram Research, Inc.