I want to create a one dimensional list from a two dimensional source list. Here is what I have done:
set twoDlist{ {UN "United Nations"} {EU "European Union} {BRICS "Brazil, Russia, India, China, South Africa} } set oneDlist "" for {set x 0} {$x < [llength $twoDlist]} {set x [expr {$x + 1}]} { set oneDlist "$oneDlist [lindex [lindex $twoDlist $x] 0]" } This works (the resulting list contains {UN EU BRICS}), but it seems clunky. Is there are more elegant way to do this? Cheers, Erlend _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users