I'm sure this is easy, but I can't figure it out. I tried a variety of things, most recently: FileStream oldFileNamed: logFile pathString do: [ :s | s nextPutAll: 'message to append' ]. Thanks. Sean -- View this message in context: http://forum.world.st/Append-to-file-tp4517660p4517660.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Sean, Use: #setToEnd Sven On 30 Mar 2012, at 03:38, Sean P. DeNigris wrote:
I'm sure this is easy, but I can't figure it out. I tried a variety of things, most recently:
FileStream oldFileNamed: logFile pathString do: [ :s | s nextPutAll: 'message to append' ].
Thanks. Sean
-- View this message in context: http://forum.world.st/Append-to-file-tp4517660p4517660.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Sven Van Caekenberghe wrote
#setToEnd
Ha ha, thanks. Too late at night... I was expecting a mode for appending... -- View this message in context: http://forum.world.st/Append-to-file-tp4517660p4519040.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (2)
-
Sean P. DeNigris -
Sven Van Caekenberghe