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.



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to