Greater the but Less than

Ken Ray kray at sonsothunder.com
Fri Mar 22 13:22:01 EST 2002


For clarity, I would use parentheses:

   if (x > 1) and (x < 100) then

Just my $0.02,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web site: http://www.sonsothunder.com/

----- Original Message -----
From: "Ken Norris" <pixelbird at interisland.net>
To: <use-revolution at lists.runrev.com>
Sent: Friday, March 22, 2002 11:40 AM
Subject: Re: Greater the but Less than


>
> >I'm sure that this is probably very simple to do, but I'm stuck.  I  have
a
> >number,  I want to know how I can make the following comparison:
> >
> >if (someNumber)       is greater than>1 but less than <100
> >then
> >doSomthing WithIt
> >end if
> ----------
> on myhandler
>   put 23 into x
>   if x > 1 and x < 100 then
>     beep
>   end if
> end myhandler
>
>
> Best regards,
> Ken N.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list