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
Last Updated on 2022-01-03 by gantovnik
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
Last Updated on 2022-01-03 by gantovnik
Subscribe now to keep reading and get access to the full archive.
Recent Comments