• 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
Re: How to: If answer is between 3 and 7?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to: If answer is between 3 and 7?


  • Subject: Re: How to: If answer is between 3 and 7?
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 11 May 2006 19:15:01 -0700
  • Thread-topic: How to: If answer is between 3 and 7?

Title: Re: How to: If answer is between 3 and 7?
On 5/11/06 6:30 PM, "Brett Conlon" <email@hidden> wrote:


What is the syntax to test if a result is between 2 numbers?

eg.  
if discNos is less than 3 or greater than 7 then...

or

if discNos is not between 3 and 7 then...

Or do I have to do it like this:

if discNos is less than 3 and discNos is greater than 7 then...


No. That last one can never be satisfied, and the others are improper syntax.

        
if discNos is greater than 3 and discNos is less than 7 then

or

        
if discNos > 3 and discNos < 7 then



--
Paul Berkowitz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to: If answer is between 3 and 7? (From: Brett Conlon <email@hidden>)

  • Prev by Date: Re: Applescript-users Digest, Vol 3, Issue 250
  • Next by Date: Re: Some problems with FileMaker Pro 8
  • Previous by thread: How to: If answer is between 3 and 7?
  • Next by thread: Re: Applescript-users Digest, Vol 3, Issue 250
  • Index(es):
    • Date
    • Thread