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


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.
  • Skip behaves like Read, except that it returns Null when it succeeds in skipping the specified objects, and $Failed otherwise.
A file of numbers:
Open a stream to read the file:
Read the first number:
Skip the second number:
Close the stream:
New in 2