ron at usmedrec.com
Wed May 25 20:19:48 UTC 2016
The hardest part of FileDirectory is understanding default.
So start with: FileDirectory default.
Note that default is on the class side. Once you inspect that you are now
on the instance side. Have a look at the categories #enumeration, #'file
status', and #'file operations', and #'file name utilities'
when you get a file from that instance you are no longer on FileDirectory.
What class are the file entries?
Let me know if that helps.
All the best,
> -----Original Message-----
> From: beginners-bounces at lists.squeakfoundation.org [mailto:beginners-
> bounces at lists.squeakfoundation.org] On Behalf Of Joseph Alotta
> Sent: Wednesday, May 25, 2016 3:22 PM
> To: beginners at lists.squeakfoundation.org
> Subject: [Newbies] FileDirectory
> I am looking for some documentation or snippets of code for using the
> FileDirectory class.
> I want to check if a file exists before I try to read it.
> I also want to look at a list of files in the directory.
> I did search SBE and google but found nothing.
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners