Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to write a file
Last updated at 12:05 am UTC on 9 May 2017
 fileStream := FileStream newFileNamed: 'theFileName.txt' asFileName.
 fileStream nextPutAll:  'Some text';cr.
 fileStream nextPutAll:  'Some more text';cr.
 fileStream close.

See also

FileMan