summaryrefslogtreecommitdiffstats
path: root/doc/lappend.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-10-17 20:02:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-10-17 20:02:16 (GMT)
commitda461559312846043039c84d96a019da01f4dd06 (patch)
tree1a601db6a9ca3444d7418ec591f320756df6f58f /doc/lappend.n
parent4252e1f99f58589cf3ab90f0d2fe8f83f48fd996 (diff)
parente154c5151281fbbe01ef1361f5f6980a5ec5a6d3 (diff)
downloadtcl-da461559312846043039c84d96a019da01f4dd06.zip
tcl-da461559312846043039c84d96a019da01f4dd06.tar.gz
tcl-da461559312846043039c84d96a019da01f4dd06.tar.bz2
merge 8.7
Diffstat (limited to 'doc/lappend.n')
-rw-r--r--doc/lappend.n10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/lappend.n b/doc/lappend.n
index 80d075a..66bea5f 100644
--- a/doc/lappend.n
+++ b/doc/lappend.n
@@ -22,6 +22,12 @@ and appends each of the \fIvalue\fR arguments to that list as a separate
element, with spaces between elements.
If \fIvarName\fR does not exist, it is created as a list with elements
given by the \fIvalue\fR arguments.
+.VS TIP508
+If \fIvarName\fR indicate an element that does not exist of an array that has
+a default value set, list that is comprised of the default value with all the
+\fIvalue\fR arguments appended as elements will be stored in the array
+element.
+.VE TIP508
\fBLappend\fR is similar to \fBappend\fR except that the \fIvalue\fRs
are appended as list elements rather than raw text.
This command provides a relatively efficient way to build up
@@ -47,3 +53,7 @@ list(n), lindex(n), linsert(n), llength(n), lset(n),
lsort(n), lrange(n)
.SH KEYWORDS
append, element, list, variable
+.\" Local variables:
+.\" mode: nroff
+.\" fill-column: 78
+.\" End: