SetStreamPosition

SetStreamPosition[stream,n]

sets the current point in an open stream.

Details

Examples

Basic Examples  (1)

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:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_setstreamposition, author="Wolfram Research", title="{SetStreamPosition}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/SetStreamPosition.html}", note=[Accessed: 02-March-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_setstreamposition, organization={Wolfram Research}, title={SetStreamPosition}, year={1991}, url={https://reference.wolfram.com/language/ref/SetStreamPosition.html}, note=[Accessed: 02-March-2021 ]}

CMS

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

APA

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