WriteString

WriteString[channel, expr1, expr2, ...]
converts the to strings, and then writes them in sequence to the specified output channel.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Open a stream:

In[1]:=
Click for copyable input
Out[1]=

Write to the stream:

In[2]:=
Click for copyable input

Close the stream:

In[3]:=
Click for copyable input
Out[3]=

Read the file:

New in 1 | Last modified in 5
New to Mathematica? Find your learning path »
Have a question? Ask support »