Re: Performance when Checking if File Exists
Re: Performance when Checking if File Exists
- Subject: Re: Performance when Checking if File Exists
- From: Richard Morton <email@hidden>
- Date: Sat, 23 Feb 2002 20:06:47 +1100
On Saturday, February 23, 2002, at 05:17 AM, Arthur J Knapp wrote:
One thing I find a little, err, curious about this is that it
bears more than a passing resemblance to the one I posted to AS
Users on 7 Jan of this year, on a thread you had contributed to -
"Re: How can i do?... ("exists" handler)".
I am suspicious of the whole affair:
Yeah. Smells like a conspiracy to me...
I say that we should convene a
meeting of the AppleScript-Users Ethics and Protocols Committee.
And you would appear to be just the person to chair it. Before I
nominate you though, I do need to ask - routine question, I'm sure you
understand - Where were you on the night of Marsupial the 7th? ;-)
if inputPath is not equal to "" then try
get alias inputPath as string
return true
end try
return false
That "if" is a great addition. :)
Hey, glad you liked it. :-) I was kinda proud of it myself until NG
spoiled my fun again:
...If you know inputPath is going to be a string, testing that its
length is
greater than 0 is faster than testing that it's not ""...
;-) These lists are so good sometimes...
Cheers,
Richard Morton
-- Great Lies of the Music Business: "The place was packed"
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.