help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] FilePath creation


From: Stephen Woolerton
Subject: Re: [Help-smalltalk] FilePath creation
Date: Mon, 08 Jun 2009 13:50:48 +1200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Thanks - I had checked Directory and FilePath for superclasses but not File.

Stephen

Joachim Jaeckel wrote:
Hi Stephen,

Ah, how does one create a FilePath instance?

Because FilePath is the superclass of File, I'd try:

specialFile := File path: '/home/joe'.
specialFile exists ifTrue: [ 'Yes, its there!' printNl ]

...just an idea...

Regards,
Joachim.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]