[Newbies] FileDirectory

Ron Teitelbaum ron at usmedrec.com
Wed May 25 20:19:48 UTC 2016

Hi Joe,

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,

Ron Teitelbaum 

> -----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
> Greetings,
> 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.
> Sincerely,
> Joe.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

More information about the Beginners mailing list