Published in: SmallTalk
Reading the contents of a whole file as a string.
FileStream readOnlyFileNamed: 'file.txt' do: [:file | file contentsOfEntireFile]
You need to login to post a comment.
Smalltalk, Objects, and Design
This reference and text treats the Smalltalk programming system and the web of object-oriented ideas within and around it. Thus it is more than a guide to the language; it also examines Smalltalk in its technical and historical setting, and along the way addresses the questions that every Smalltalk developer sooner or later naturally wonders about.
jarnaldich on 04/16/08
Published in: SmallTalk
Reading the contents of a whole file as a string.
FileStream readOnlyFileNamed: 'file.txt' do: [:file | file contentsOfEntireFile]
You need to login to post a comment.