NAME
list - Create a list
SYNOPSIS
lliisstt ?arg arg ...?DESCRIPTION
This command returns a list comprised of all the args, or an empty
string if no args are specified. Braces and backslashes get added asnecessary, so that the lliinnddeexx command may be used on the result to re-
extract the original arguments, and also so that eevvaall may be used toexecute the resulting list, with arg1 comprising the command's name and
the other args comprising its arguments. LLiisstt produces slightly dif-
ferent results than ccoonnccaatt: ccoonnccaatt removes one level of groupingbefore forming the list, while lliisstt works directly from the original
arguments. For example, the command lliisstt aa bb {{cc dd ee}} {{ff {{gg hh}}}} will return aa bb {{cc dd ee}} {{ff {{gg hh}}}} while ccoonnccaatt with the same arguments will return aa bb cc dd ee ff {{gg hh}}SEE ALSO
lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lset(n), | lsort(n), lrange(n), lreplace(n) KKEEYYWWOORRDDSSelement, list
Tcl list(n)