Re: How to: If answer is between 3 and 7?
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