WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

SetStreamPosition [stream,n]

sets the current point in an open stream.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Tech Notes
Related Guides
History
Cite this Page

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:

See Also

Skip   StreamPosition

History

Introduced in 1991 (2.0)

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.

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

BibTeX

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

BibLaTeX

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

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /