> My aolserver returns an error when I do e. g. a [expr 12.0 + 1]. > [expr 12 + 1] works fine. The log says: syntax error in expression "12.0 + > 1". It seems that it can't handle floats anymore. As soon as there is a > decimal it returns the error.
As you are somewhere in Europe, you can get locale-sensitive. Tcl explicitly sets LC_NUM to "C" locale (American) so that numbers like "12.0" can be used always, not "12,0" as would be "European". Some other extension may be modifying your locale, which it shouldn't. You can easily test this assumption by trying "12,0" in the expr above. Jeff Hobbs The Tcl Guy Senior Developer http://www.ActiveState.com/
