Re: Prepending Data to a File
- To: mathgroup at smc.vnet.net
- Subject: [mg116999] Re: Prepending Data to a File
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Mon, 7 Mar 2011 05:47:35 -0500 (EST)
On 3/6/11 at 5:43 AM, gregory.lypny at videotron.ca (Gregory Lypny) wrote: >Appending would work fine as well. How do I do that in Mathematica? Use OpenAppend to create a stream to write to. Then use Write, WriteString or BinaryWrite to add write out the data you want appended. Finally, close the stream using Close.