Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Input and Output / File Output /

Further Examples: Write

This open a stream to a file temps.

In[1]:=

Out[1]=

This writes a sequence of expressions to the file.

In[2]:=

The expressions are written in input form.

In[3]:=

"a^21 + b^2"

This writes another expression to the file.

In[4]:=

The expressions from a single Write are put on the same line.

In[5]:=

"a^21 + b^2

c^3"

This closes the stream.

In[6]:=

Out[6]=

In[7]:=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: