WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Legacy Documentation
Mathematica 6
(2007)
This is documentation for Mathematica 6, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 14.3)
Mathematica
>
Low-Level File Operations
>
Built-in
Mathematica
Symbol
Streams and Low-Level Input and Output
Tutorials »
|
BinaryWrite
See Also »
|
Files
Low-Level File Operations
More About »
WriteString
WriteString
[
channel
,
expr
1
,
expr
2
,
...
]
converts the
expr
i
to strings, and then writes them in sequence to the specified output channel.
MORE INFORMATION
WriteString
uses the
OutputForm
of the
expr
i
.
WriteString
does not put a newline at the end of the output it generates.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Open a stream:
In[1]:=
Out[1]=
Write to the stream:
In[2]:=
Close the stream:
In[3]:=
Out[3]=
Read the file:
In[4]:=
SEE ALSO
BinaryWrite
TUTORIALS
Streams and Low-Level Input and Output
MORE ABOUT
Files
Low-Level File Operations
New in 1 | Last modified in 5