On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote:
> Hayatou,
> 
> Open a WriteStream and call #setToEnd before writing.
> 
> Sven

I'm sure these changes in the API are documented somewhere extensively,
however I cannot find it.  Do you have any pointers/links?

TIA,


> On 24 Jun 2013, at 14:27, Hayatou Oumarou <[email protected]> wrote:
> 
> > Hello, 
> > I use in Pharo 2.0  the class FileSystem to write in a text file(csv 
> > format).  I find only two options writeStream and readStream.  I would not 
> > like each time to overwrite the contents of my file and I do not find the 
> > option appendStream. How can I do? 
> > 
> > 
> > working := FileSystem disk workingDirectory.
> > stream := (working / 'test.csv') writeStream
> > stream nextPutAll: 'something'.
> > stream nextPutAll: ';' .
> > stream nextPutAll: 'other'.
> > stream close.

-- 
Bahman Movaqar  (http://BahmanM.com)

ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to