tomdagliusa
Programmer
I can do the following from the tcl shell:
[HOST]$ tcl
tcl> set x 2.0
tcl> set y [int $x]
tcl> puts $y
2
tcl>
SO, in my script I have:
set valSkew1 [expr $what2chk4 * $RATE_SKEW]
set valSkew [int $valSkew1]
I get the following syntax failure:
WARNING(Mon Jul 29 12:46:36) : Test aborted
WARNING(Mon Jul 29 12:46:36) : invalid command name "int" ; invalid command name "int"
while executing
"int $valSkew1"
invoked from within
"set valSkew [int $valSkew1]..."
Huh? How come it works in the tcl shell, but not my program?
Tom
[HOST]$ tcl
tcl> set x 2.0
tcl> set y [int $x]
tcl> puts $y
2
tcl>
SO, in my script I have:
set valSkew1 [expr $what2chk4 * $RATE_SKEW]
set valSkew [int $valSkew1]
I get the following syntax failure:
WARNING(Mon Jul 29 12:46:36) : Test aborted
WARNING(Mon Jul 29 12:46:36) : invalid command name "int" ; invalid command name "int"
while executing
"int $valSkew1"
invoked from within
"set valSkew [int $valSkew1]..."
Huh? How come it works in the tcl shell, but not my program?
Tom