On Nov 28, 2007, at 10:39 PM, Stephen Deasey wrote:
>
> Tcl and C are fine. The example is broken.
Ah, Stephen...
set value [ns_config -bool /missing/thing missing_par false]
if {$value == 0} {
puts "should it print?"
}
In the pre-checkin version it didn't
because value was set to string "false"
and this ain't equal number zero.
In the post-checkin version it does as
it always substitutes the result to 0 or 1.
Is this now "broken"?
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel