The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
30 views

Tcl loop idea: for_index_item

I often need to loop through a list of items and need both the index position, and the item itself. Typically: set names {John Paul George Ringo} set i 0 foreach name $names { puts "$i - $name" ...