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
Jan 3, 2022 | tcl | 0 comments
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
Subscribe now to keep reading and get access to the full archive.
Recent Comments