thefilevalue_$thefileがリストを含む配列であると仮定しましょう
foreach element [array names thefilevalue_$thefile] {
puts "[lindex $thefilevalue_[subst $thefile]($element) 0]"
}
しかし、それは戻ります:
can't read "thefilevalue_": no such variable
私はtcl8.4を使用していますが、アップグレードしません。
どうすれば修正できますか?
ありがとう