I'm trying to see if a value is an integer, using:
if {[string is integer "${var}"]} {
do something
}
When var is the empty string it returns true, so I have to use:
if {!("" eq "${var}) && ...
Is this a bug, or expected behavior?
I'm using tcl8.4.5 on Linux RH8.0.
tom jackson
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.