Treating each argument as a list, concatenate all arguments and return the resulting list.

The syntax is

[concat $list1 $list2]

Example:

set list1 {a b c}
set list2 {1 2 3}
puts [concat $list1 $list2]

Result:

a b c 1 2 3

Discover more from Tips and Hints for Aerospace Engineers

Subscribe now to keep reading and get access to the full archive.

Continue reading