DOCUMENTATION CENTER SEARCH
Mathematica
>
Low-Level File Operations
>
Built-in
Mathematica
Symbol
Reading Textual Data
Tutorials »
|
StreamPosition
SetStreamPosition
Find
EndOfFile
See Also »
|
File Operations
Files
Low-Level File Operations
String Operations
More About »
Skip
Skip
[
stream
,
type
]
skips one object of the specified type in an input stream.
Skip
[
stream
,
type
,
n
]
skips
n
objects of the specified type.
MORE INFORMATION
Skip
behaves like
Read
, except that it returns
Null
when it succeeds in skipping the specified objects, and
$Failed
otherwise.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
A file of numbers:
In[1]:=
Open a stream to read the file:
In[2]:=
Out[2]=
Read the first number:
In[3]:=
Out[3]=
Skip
the second number:
In[4]:=
In[5]:=
Out[5]=
Close the stream:
In[6]:=
Out[6]=
SEE ALSO
StreamPosition
SetStreamPosition
Find
EndOfFile
TUTORIALS
Reading Textual Data
MORE ABOUT
File Operations
Files
Low-Level File Operations
String Operations
New in 2
© 2008 Wolfram Research, Inc.