OpenTemporary

在6.0 版本中, OpenTemporaryOpenWrite 函数取代.

OpenTemporary[]

打开一个临时文件使得输出可以写入,并返回一个 OutputStream 对象.

更多信息和选项

  • OpenTemporary 通常用于 PutGet 的连接中,这作为在 Wolfram 语言和外部程序之间交换准备数据的方式.
  • OpenTemporary 通常创建一个并不存在的新文件.
  • 在 Unix 系统中,OpenTemporary 一般在 /tmp 目录下创建一个文件.
  • 全局变量 $TemporaryPrefix 给出由 OpenTemporary 使用的文件名的基础.
Wolfram Research (1988),OpenTemporary,Wolfram 语言函数,https://reference.wolfram.com/language/ref/OpenTemporary.html.

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_opentemporary, organization={Wolfram Research}, title={OpenTemporary}, year={1988}, url={https://reference.wolfram.com/language/ref/OpenTemporary.html}, note=[Accessed: 22-December-2024 ]}