Hi Ron,
<br/><br/>I get an instance of UnixFileDirectory. And there are only 6 methods for UnixFileDirectory, none of them doing what I want.
<br/><br/>Sincerely,
<br/><br/>Joe.
<br/><br/><br/><br/><div class='shrinkable-quote'><br/>> On May 25, 2016, at 2:43 PM, Ron Teitelbaum [via Smalltalk] <<a href="/user/SendEmail.jtp?type=node&node=4897398&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>>
<br/>> Hi Joe,
<br/>>
<br/>> The hardest part of FileDirectory is understanding default.
<br/>>
<br/>> So start with: FileDirectory default.
<br/>>
<br/>> Note that default is on the class side. Once you inspect that you are now
<br/>> on the instance side. Have a look at the categories #enumeration, #'file
<br/>> status', and #'file operations', and #'file name utilities'
<br/>>
<br/>> when you get a file from that instance you are no longer on FileDirectory.
<br/>> What class are the file entries?
<br/>>
<br/>> Let me know if that helps.
<br/>>
<br/>> All the best,
<br/>>
<br/>> Ron Teitelbaum
<br/>>
<br/>>
<br/>>
<br/>> > -----Original Message-----
<br/>> > From: [hidden email] [mailto:beginners-
<br/>> > [hidden email]] On Behalf Of Joseph Alotta
<br/>> > Sent: Wednesday, May 25, 2016 3:22 PM
<br/>> > To: [hidden email]
<br/>> > Subject: [Newbies] FileDirectory
<br/>> >
<br/>> > Greetings,
<br/>> >
<br/>> > I am looking for some documentation or snippets of code for using the
<br/>> > FileDirectory class.
<br/>> >
<br/>> > I want to check if a file exists before I try to read it.
<br/>> >
<br/>> > I also want to look at a list of files in the directory.
<br/>> >
<br/>> > I did search SBE and google but found nothing.
<br/>> >
<br/>> > Sincerely,
<br/>> >
<br/>> > Joe.
<br/>> >
<br/>> >
<br/>> >
<br/>> > _______________________________________________
<br/>> > Beginners mailing list
<br/>> > [hidden email]
<br/>> > <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>>
<br/>> _______________________________________________
<br/>> Beginners mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>>
<br/>>
<br/>> If you reply to this email, your message will be added to the discussion below:
<br/>> <a href="http://forum.world.st/FileDirectory-tp4897377p4897389.html" target="_top" rel="nofollow" link="external">http://forum.world.st/FileDirectory-tp4897377p4897389.html</a><br/>> To start a new topic under Squeak - Beginners, email <a href="/user/SendEmail.jtp?type=node&node=4897398&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> To unsubscribe from Squeak - Beginners, click here.
<br/>> NAML
</div><br/>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/FileDirectory-tp4897377p4897398.html">Re: FileDirectory</a><br/>
Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<br/>