NAME
lappend - Append list elements onto a variable
SYNOPSIS
llaappppeenndd varName ?value value value ...?DESCRIPTION
This command treats the variable given by varName as a list and appends each of the value arguments to that list as a separate element, with spaces between elements. If varName doesn't exist, it is created as a list with elements given by the value arguments. LLaappppeenndd is similar to aappppeenndd except that the values are appended as list elements rather than raw text. This command provides a relatively efficient way to build uplarge lists. For example, ``llaappppeenndd aa $$bb'' is much more efficient than
``sseett aa [[ccoonnccaatt $$aa [[lliisstt $$bb]]]]'' when $$aa is long.
SEE ALSO
list(n), lindex(n), linsert(n), llength(n), lset(n) lsort(n), lrange(n) | KKEEYYWWOORRDDSS append, element, list, variableTcl lappend(n)