The syntax for appending an item to a list is

lappend listName value

Example:

set var orange
lappend var "blue"
lappend var "red"
lappend var "green"
puts $var

Discover more from Tips and Hints for Aerospace Engineers

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

Continue reading