appends expr to a file.
|PutAppend[expr1, expr2, ..., "filename"]|
appends a sequence of expressions expri to a file.
Basic Examples (1)
Append expression values at the end of a temporary file:
Set the directory to one for temporary files:
Put the value of x in a file:
Update x and append the new value to the file:
The file now contains the two values:
Append successive iterates to the file in a loop:
Reset to the original directory:
|© 2013 Wolfram Research, Inc.|