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.

Details and Options

  • Skip behaves like Read, except that it returns Null when it succeeds in skipping the specified objects, and $Failed otherwise.

Examples

Basic Examples  (1)

A file of numbers:

Open a stream to read the file:

Read the first number:

Skip the second number:

Close the stream:

Wolfram Research (1991), Skip, Wolfram Language function, https://reference.wolfram.com/language/ref/Skip.html.

Text

Wolfram Research (1991), Skip, Wolfram Language function, https://reference.wolfram.com/language/ref/Skip.html.

CMS

Wolfram Language. 1991. "Skip." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Skip.html.

APA

Wolfram Language. (1991). Skip. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Skip.html

BibTeX

@misc{reference.wolfram_2024_skip, author="Wolfram Research", title="{Skip}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/Skip.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_skip, organization={Wolfram Research}, title={Skip}, year={1991}, url={https://reference.wolfram.com/language/ref/Skip.html}, note=[Accessed: 17-November-2024 ]}