Mathematica 9 is now available

OpenWrite

Usage

OpenWrite["file"] opens a file to write output to it, and returns an OutputStream object.


Notes

OpenWrite deletes any existing contents in a file, and prepares to write output starting at the beginning of the file.
• For output to pipes, OpenWrite and OpenAppend are equivalent.
• See notes for OpenAppend.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.