OutputStream["name",n]
is an object that represents an output stream for functions such as Write.


OutputStream
OutputStream["name",n]
is an object that represents an output stream for functions such as Write.
Details

- OpenWrite and OpenAppend return OutputStream objects.
- The serial number n is unique across all streams, regardless of their name.
Examples
Basic Examples (2)
OpenWrite opens a new file and returns an OutputStream object:
See Also
Tech Notes
Related Guides
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), OutputStream, Wolfram Language function, https://reference.wolfram.com/language/ref/OutputStream.html.
CMS
Wolfram Language. 1991. "OutputStream." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OutputStream.html.
APA
Wolfram Language. (1991). OutputStream. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OutputStream.html
BibTeX
@misc{reference.wolfram_2025_outputstream, author="Wolfram Research", title="{OutputStream}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/OutputStream.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_outputstream, organization={Wolfram Research}, title={OutputStream}, year={1991}, url={https://reference.wolfram.com/language/ref/OutputStream.html}, note=[Accessed: 08-August-2025]}