Query: append
OS: opendarwin
Section: n
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
append(n) Tcl Built-In Commands append(n) __________________________________________________________________________________________________________________________________________________NAMEappend - Append to variableSYNOPSISappend varName ?value value value ...? _________________________________________________________________DESCRIPTIONAppend all of the value arguments to the current value of variable varName. If varName doesn't exist, it is given a value equal to the concatenation of all the value arguments. The result of this command is the new value stored in variable varName. This command provides an efficient way to build up long variables incrementally. For example, ``append a $b'' is much more efficient than ``set a $a$b'' if $a is long.SEE ALSOconcat(n), lappend(n)KEYWORDSappend, variable Tcl append(n)