summaryrefslogtreecommitdiffstats
path: root/doc/lappend.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-09-23 17:29:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-09-23 17:29:46 (GMT)
commitbe629669a54f0106c40f0bcb78f4493b481d61c6 (patch)
tree689b0b93e89e8f0ac79f0f099598979fe649f169 /doc/lappend.n
parent8a6dda8529c4ea520f0da8af07f68e53570bb890 (diff)
downloadtcl-be629669a54f0106c40f0bcb78f4493b481d61c6.zip
tcl-be629669a54f0106c40f0bcb78f4493b481d61c6.tar.gz
tcl-be629669a54f0106c40f0bcb78f4493b481d61c6.tar.bz2
Added docs
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: