testing the existance of a file...
Tom Phoenix
rootbeer at redcat.com
Wed Mar 15 18:32:56 UTC 2006
On 3/15/06, nelson - <nelson1977 at gmail.com> wrote:
> i can't figure out how to test the existance of a file.
You can ask the directory whether it contains the file, if you send
#fileExists: to an instance of FileDirectory.
FileDirectory default fileExists: SmalltalkImage current sourcesName
Does that give you what you need? Good luck with it!
--Tom Phoenix
More information about the Squeak-dev
mailing list
|