Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
FileMan examples
Last updated at 1:47 pm UTC on 5 December 2017

Examples


FmFileManTest testFileContents

 FmDirectoryEntry default  "default directory"

 FmDirectoryEntry default parent

 '' asDirectoryEntry pathComponents

FileMan has a dictionary-like interface

 (FmDirectoryEntry default parent parent) at: 'myFile.txt' put: 'the content of the file'.
 (FmDirectoryEntry default parent parent) binaryAt: 'myBinaryFile.bin' put: #[65 10 65]



FmFileEntry example