[Newbies] Help needed
herbertkoenig at gmx.net
Fri Mar 27 15:13:40 UTC 2015
the easy part is:
file := StandardFileStream forceNewFileNamed: 'yourFilename'.
file nextPutAll: 'your collections contents as a String'
The hard part is how to print your collection (and if necessary its
elements) as a string.
You add to the stream with file nextPut: for single charcters or
nextPutAll: for Strings.
You'd need to give some details about your collection for more help.
Am 27.03.2015 um 15:57 schrieb Raymond Asselin:
> I get an app that I made in Squeak. I would like to print the content of some OrderedCollection but don't know how to do that.
> I thought to us a FileStream but never worked with Stream before any clue or reference is welcome.
> My objectif is to print a list of my orderedCollection. I want a hard copy...
> Raymond Asselin_______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners