Re: Any way to evaluate equality expressions with multiple operands?
Re: Any way to evaluate equality expressions with multiple operands?
- Subject: Re: Any way to evaluate equality expressions with multiple operands?
- From: Philip Ershler <email@hidden>
- Date: Thu, 05 Sep 2013 19:10:39 -0600
On Sep 5, 2013, at 6:38 PM, Alex Hall <email@hidden> wrote:
> Hello,
> I know that in standard Applescript, the following will throw an error:
> 1<2<3>0
> no matter how you group things with parentheses. Is there a trick to get expressions like the one above to evaluate, or will I have to write a parser to do each comparison? I don't need anything other than equality symbols (no parentheses, math operators, and so on), I just want to evaluate an expression with numbers and multiple equality symbols. Thanks.
>
As far as I know, you have to join the individual comparisons with AND & OR conjunctions.
Phil
_______________________________________________
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