Re: Short form
Re: Short form
- Subject: Re: Short form
- From: Philip Aker <email@hidden>
- Date: Fri, 5 Sep 2008 10:41:49 -0700
On Sep 5, 2008, at 10:35 AM, Script2 wrote: Is there a short form for writing this "if" statement
If sname = "CN" or sname = "DD" or sname = "DR" or sname = "FM" then (I have about 10 names to check)
set sn to "CN" sn is in {"AN", "BN", "DN", "EN", "FN"}
Philip Aker
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Short form (From: "Script2" <email@hidden>) |