Very good. You're paying attention.
-Original Message-
From: "Brett W. McCoy"<[EMAIL PROTECTED]>
To: "Mark Bergeron"<[EMAIL PROTECTED]>
Cc: "David Draley"<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Date: Tue Sep 18 15:23:22 PDT 2001
Subjec
On Tue, 18 Sep 2001, Mark Bergeron wrote:
> I would go:
>
> unless ( ($x < 50) || ($x > 80) ){
> print "";
> }
No... that will return true for all values less than fifty or all values
more than 80. To get the numbers in between, you want numbers that are
more than 50 AND less than 80, the o
:36:06 PDT 2001
Subject: "Unless" statement
>how would I write an unless statement that is looking for the values
>inbetween two numbers?
>
>$x = ;
>chomp $x;
>
>unless (50 < $x > 80)
> {
On Mon, 17 Sep 2001, David Draley wrote:
> how would I write an unless statement that is looking for the values
> inbetween two numbers?
>
> unless (50 < $x > 80)
print '' unless( ($x > 50) and ($x < 80) );
-- Brett
how would I write an unless statement that is looking for the values
inbetween two numbers?
$x = ;
chomp $x;
unless (50 < $x > 80)
{ print "";
}
else
{
other function
}
---
thanks
_
Get your FREE