[Newbies] Re: FileDirectory

2016-05-25 Thread Joseph Alotta
Hi Ron, > Excellent. Remember that you should also look at the super classes for > methods. UnixFileDirectory is the instance of “FileDirectory default” but > it’s also a subclass of FileDirectory so the methods you can call include > UnixFileDirectory and all the methods on the class hierarc

[Newbies] Re: FileDirectory

2016-05-25 Thread Joseph Alotta
> On May 25, 2016, at 3:38 PM, Hannes Hirzel [via Smalltalk] > wrote: > > Have a look as well at http://wiki.squeak.org/squeak/2184 > > What exactly do you want to do? > > —Hannes I saw that. It comes up first on google. It is 100% accurate and 100% useless. That is why the Terse Gui

RE: [Newbies] Re: FileDirectory

2016-05-25 Thread Ron Teitelbaum
Hi Joe, Excellent. Remember that you should also look at the super classes for methods. UnixFileDirectory is the instance of "FileDirectory default" but it's also a subclass of FileDirectory so the methods you can call include UnixFileDirectory and all the methods on the class hierarchy inclu

Re: [Newbies] Re: FileDirectory

2016-05-25 Thread H. Hirzel
Have a look as well at http://wiki.squeak.org/squeak/2184 What exactly do you want to do? --Hannes On 5/25/16, Joseph Alotta wrote: > Hi Ron, > > I get an instance of UnixFileDirectory. And there are only 6 methods for > UnixFileDirectory, none of them doing what I want. > > Sincerely, > > Joe

[Newbies] Re: FileDirectory

2016-05-25 Thread Joseph Alotta
Hi Ron, I get an instance of UnixFileDirectory. And there are only 6 methods for UnixFileDirectory, none of them doing what I want. Sincerely, Joe. > On May 25, 2016, at 2:43 PM, Ron Teitelbaum [via Smalltalk] > wrote: > > Hi Joe, > > The hardest part of FileDirectory is understanding

RE: [Newbies] FileDirectory

2016-05-25 Thread Ron Teitelbaum
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 #'fi

[Newbies] FileDirectory

2016-05-25 Thread Joseph Alotta
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. _