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: Paul Berkowitz <email@hidden>
- Date: Sun, 21 Sep 2003 03:37:36 -0700
On 9/20/03 11:23 PM, "Marc K. Myers" <email@hidden> wrote:
>
You don't have to extract the last character to do the test. This
>
works:
>
>
if fileName ends with some item of {"X", "Y", "Z",...} then beep
No, it doesn't. 'some item' doesn't mean 'any item' - it's just one random
item from the list. It will only beep if you hit it lucky.
Run 3 times:
some item of {"X", "Y", "Z"}
--> "Z"
--> "X"
--> "X"
--or whatever
--
Paul Berkowitz
_______________________________________________
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.