set a {one two three}
set b {four five six}
if 1 [expand {
[@
foreach list [* $a $b *] {
foreach item $list {
lappend res $item
}
}
@]
}]
set res ;# -> {one two three four five six}set a {one two three}
set b {four five six}
if 1 [expand {
[@
foreach list [* $a $b *] {
foreach item $list {
lappend res $item
}
}
@]
}]
set res ;# -> {one two three four five six}