Re: if clauses: multiple values in one test?
Re: if clauses: multiple values in one test?
- Subject: Re: if clauses: multiple values in one test?
- From: Michelle Steiner <email@hidden>
- Date: Sun, 21 Sep 2003 00:13:39 -0700
On Saturday, September 20, 2003, at 11:40 PM, Andrew Oliver wrote:
Correct me if I'm wrong, but doesn9t this translate as:
if fileName ends with (some item of {"X", "Y", "Z", ...} then beep
i.e. AppleScript first selects (some item of {"X", "Y", "Z", ...}) and
then
checks to see if the fileName ends with that character... i.e. You
have a 1
in 26 chance of it matching. Not quite what the original poster was
looking
for.
You are absolutely correct.
--Michelle
--
The problem with political jokes is that too many of them get elected.
_______________________________________________
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.