On Thu, 14 Feb 2002, Dittrich G. Michael wrote:

> I do:
> $lowerlimit = "89" le "100";
> response ""
>
> I do:
> $lowerlimit = "89" le "99";
> response "1"
>
> please help me! I dont get it! is this a bug? or am I nuts?

You are comparing strings here when you really want to be comparing
numbers.  In terms of strings, "100" is less than "89".  What you want is

$lowerlimit = 89 < 100;

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Don't try to outweird me, three-eyes.  I get stranger things than you free
with my breakfast cereal.
                -- Zaphod Beeblebrox


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to