Code:
Hello all:
I try to use command with the " foreach varlist1 list1 ?varlist2 list2 ...? body ", but I failed for that, please tell me why.
My coding as follow;
set p1 {1 2 3 4}
set p2 {3 4 5 6}
foreach p11 $p1 p22 $p2 {
puts $p11
puts $p22
}
it doesn't work
rgds
stewang