SetStreamPosition

SetStreamPosition[stream,n]

设置一个打开的流中的当前位置.

更多信息

范例

基本范例  (1)

打开一个流:

从流对象中读取第一个数:

修改流中当前的点:

从流对象中读取一个数:

关闭流:

Wolfram Research (1991),SetStreamPosition,Wolfram 语言函数,https://reference.wolfram.com/language/ref/SetStreamPosition.html.

文本

Wolfram Research (1991),SetStreamPosition,Wolfram 语言函数,https://reference.wolfram.com/language/ref/SetStreamPosition.html.

CMS

Wolfram 语言. 1991. "SetStreamPosition." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/SetStreamPosition.html.

APA

Wolfram 语言. (1991). SetStreamPosition. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/SetStreamPosition.html 年

BibTeX

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

BibLaTeX

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