12 Apr
2006
12 Apr
'06
14:52
On Wednesday 12 April 2006 11:08, Maura Edeweiss Monville wrote:
The strange behaviour undelying this issue is that every parameer is declared Real in C language. Tcl is used to build the GUI that allows the program users to alter the default values, if desired, in a friendly way. For some reson to me unknown (I've never used Tcl before) Tcl regards the Real numbers as Integers.... This is just my diagnosis .. I maight be wrong ...
Who declares them as real in C? Tcl or some other app? If you enter a value as 1 (no decimal) it is assumed to be an integer. But if you later enter 1.0, I think it changes to a double. At least from a Tcl script. -- Roger Oberholtzer OPQ Systems AB