On Sun, 3 Aug 2003 23:15:05 +0000 (GMT) tim@sumeru.stanford.edu wrote:
I'm fairly sure that +++++++ directoryExists: filenameOrPath "Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory." "FileDirectory default directoryExists: FileDirectory default pathName"
^(FileDirectory default directoryNamed: filenameOrPath ) exists ++++++++++++++ would actually be correct
Umm... maybe you meant
+++++++ directoryExists: filenameOrPath "Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory." "FileDirectory default directoryExists: FileDirectory default pathName"
^(self directoryNamed: filenameOrPath ) exists ++++++++++++++
Cheers, Bob
In message 200308032323.h73NN6tk070416@hampden.charm.net Bob Arning arning@charm.net wrote:
On Sun, 3 Aug 2003 23:15:05 +0000 (GMT) tim@sumeru.stanford.edu wrote:
I'm fairly sure that +++++++ directoryExists: filenameOrPath "Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory." "FileDirectory default directoryExists: FileDirectory default pathName"
^(FileDirectory default directoryNamed: filenameOrPath ) exists ++++++++++++++ would actually be correct
Umm... maybe you meant
+++++++ directoryExists: filenameOrPath "Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory." "FileDirectory default directoryExists: FileDirectory default pathName"
^(self directoryNamed: filenameOrPath ) exists ++++++++++++++
Yup, better.
tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim Strange OpCodes: WBT: Water Binary Tree
Since nobody seemed interested in a simple speedup, I'm posting this fix for Acorn only, which means I can self approve it :-)
squeak-dev@lists.squeakfoundation.org