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 <joseph.alo...@gmail.com> 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.
>
>
>
>
>> On May 25, 2016, at 2:43 PM, Ron Teitelbaum [via Smalltalk]
>> <ml-node+s1294792n489738...@n4.nabble.com> wrote:
>>
>> 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: [hidden email] [mailto:beginners-
>> > [hidden email]] On Behalf Of Joseph Alotta
>> > Sent: Wednesday, May 25, 2016 3:22 PM
>> > To: [hidden email]
>> > 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
>> > [hidden email]
>> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>>
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://forum.world.st/FileDirectory-tp4897377p4897389.html
>> To start a new topic under Squeak - Beginners, email
>> ml-node+s1294792n107673...@n4.nabble.com
>> To unsubscribe from Squeak - Beginners, click here.
>> NAML
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/FileDirectory-tp4897377p4897398.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to