我想使用for循环获取ya0,ya1的值. 但是下面的代码不起作用.
set ya0 12 set ya1 16 for {set i 0} {$i < 2} {incr i} { puts "$ya{$i}" }
tcl
tcl ×1