Hayatou, Open a WriteStream and call #setToEnd before writing.
Sven 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. > ------------------------------------ > Hayatou -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org
