Hello! expr 12,0 + 1 returns the same error.
Wolfgang Winkler On Monday 17 February 2003 18:44, you wrote: > > 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/ -- Digital Concepts Ideen-Konzepte-L�sungen [EMAIL PROTECTED] www.digital-concepts.com Mobil: +43 699 / 20 88 13 51 B�ro: +43 732 / 77 27 27
