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 /

OpenAppend

FilledSmallSquare OpenAppend["file"] opens a file to append output to it, and returns an OutputStream object.

FilledSmallSquare The following options can be given:

FilledSmallSquare On computer systems that support pipes, OpenAppend["!command"] runs the external program specified by command, and opens a pipe to send input to it.

FilledSmallSquare If OpenRead does not succeed in opening a particular file or pipe, it generates a message, and returns $Failed.

FilledSmallSquare OpenAppend resolves file names according to the procedure described in Section A.6.1.

FilledSmallSquare OpenAppend returns OutputStream["name", n], where name is the full name of a file or command, and n is a serial number that is unique across all streams opened in the current Mathematica session.

FilledSmallSquare SetOptions can be used to change the properties of an output stream, after it is already open.

FilledSmallSquare Functions like Put and Write automatically open the files or pipes they need, if they are not already open.

FilledSmallSquare Setting the option DOSTextFormat->True causes newlines specified by \n to be output as \r\n pairs, suitable for text-mode files on MS-DOS and related systems.

FilledSmallSquare See Section 2.12.3.

FilledSmallSquare See also: Close, Put, Streams, LinkCreate.

FilledSmallSquare New in Version 1; modified in 3.



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


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