for {set idx 0}{$idx < 6}{incr idx 1}{
set tempVar [lindex $xlateInVals $idx]
set count [expr $count+[string length $tempVar]]
}
errorInfo:
extra characters after close-brace while compiling
“for {set idx 0”
(compiling body of proc “xlt_40_chars”, line 7)
invoked from within “xlt_40_chars”
Where is extra charcters that this error msg is talking about????
Any help will be appreciated.