21/11/2012, 15:17
Juste a small thing: don't use reserved keyword as variables.
So, avoid:
Try :
So, avoid:
tcl
foreach timer [list 1 2 3 4] { killutimer $foo_status[$timer] }
Try :
tcl
foreach tId [list 1 2 3 4] { killutimer $foo_status[$tId] }