June 25, 2013
4:32 p.m.
you can use fileReference writeStream setToEnd instead of just writeStream, that should be the same behavior as appendStream... On 2013-06-24, at 14:20, Hayatou Oumarou <hayaty55@yahoo.fr> 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