For clarity, I would use parentheses:

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

Just my $0.02,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web site: http://www.sonsothunder.com/

----- Original Message -----
From: "Ken Norris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to