On Nov 28, 2007, at 8:14 PM, Stephen Deasey wrote:
>
> {$bool == 1} is not a valid test of truthiness.
... so Tcl and C are "broken"?
>
>
> And it's uneccessary:
>
> set bool 1
> if {$bool} {
> puts yup
> }
>
> set bool yes
> if {$bool} {
> puts $yup
> }
It is not but it is widely used. When Tcl disallows us
to use 1/0 for true/false and test on 1/0 equality for
it, then we can talk more about it.
Cheers
Zoran
-------------------------------------------------------------------------
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