• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Any way to evaluate equality expressions with multiple operands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any way to evaluate equality expressions with multiple operands?


  • Subject: Any way to evaluate equality expressions with multiple operands?
  • From: Alex Hall <email@hidden>
  • Date: Thu, 05 Sep 2013 20:38:41 -0400

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.


Have a great day,
Alex (msg sent from Mac Mini)
email@hidden




 _______________________________________________
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


  • Follow-Ups:
    • Re: Any way to evaluate equality expressions with multiple operands?
      • From: Jon Pugh <email@hidden>
    • Re: Any way to evaluate equality expressions with multiple operands?
      • From: Philip Ershler <email@hidden>
  • Prev by Date: Re: Rich text from an Outlook 2011 email message
  • Next by Date: Re: Any way to evaluate equality expressions with multiple operands?
  • Previous by thread: Re: Rich text from an Outlook 2011 email message
  • Next by thread: Re: Any way to evaluate equality expressions with multiple operands?
  • Index(es):
    • Date
    • Thread