oh! Thanks!

by the way: is there a online source for command reference? My source is really poor!

Thanks in forward

============================================================
Von: Nikola Janceski <[EMAIL PROTECTED]>
Datum: 2002/02/14 Do PM 03:05:04 GMT-06:00
An: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,  
        [EMAIL PROTECTED]
Betreff: RE: is it a bug? (less-equal compare)

le and ge does a string comparison... you want a numerical comparison < and
>

"89" le "100" is false because 8 is bigger than 1 on the ASCII chart
"89" le "99" is true because 8 is smaller than 9

"98" le "99" is also true...
"089" le "100" is true because 0 is smaller than 1

Try it.. but le and ge are for string comparisons... remember it goes down
the string one charater at a time and is ordered as on the ASCII chart by
the decimal value.


-----Original Message-----
From: Dittrich G. Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 3:57 PM
To: [EMAIL PROTECTED]
Subject: is it a bug? (less-equal compare)


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?

perl -ver
"This is perl, version 5.005_03 built for i386-freebsd"
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de
sichern!
http://www.berlin.de/home/MeineStadt/Anmeldung


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

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


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

============================================================

--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://www.berlin.de/home/MeineStadt/Anmeldung


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

Reply via email to