Originally posted by Hyunyoung Park
This for loop basically checks a field consisted of six subfields in it and get the length of each subfield. It adds them up to get the total length of the field.
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"
<End of errorInfo>
Where is extra charcters that this error msg is talking about????
Any help will be appreciated.