|
PutAppend
expr
>>>
filename appends expr to a file. PutAppend[
,
, ... ,
"
filename
"] appends a sequence of expressions to a file.
PutAppend works the same as Put, except that it adds output to the end of the file, rather than replacing the complete contents of the file. See the Mathematica book: Section 1.11.1, Section 2.11.1. See also: Write.
Further Examples
First we create a file tempputa.
In[1]:= 
Here are the contents of the file tempputa.
In[2]:= 
a^3 + 3*a^2*b + 3*a*b^2 + b^3
This appends an expression to the existing file.
In[3]:= 
Here are the new contents of the file tempputa.
In[4]:= 
a^3 + 3*a^2*b + 3*a*b^2 + b^3 a^4 + 4*a^3*b + 6*a^2*b^2 + 4*a*b^3 + b^4
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |