diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-02 08:49:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-02 08:49:12 (GMT) |
commit | 8815f9f3c32c06e9f2d1d2b8ea69e1810988c5a4 (patch) | |
tree | f29c5c0c6331b03c26871392bc54d38fff2e3727 /doc/lset.n | |
parent | c761f885ddfb0bfdc09e27db3399acb1f1b65dbd (diff) | |
download | tcl-8815f9f3c32c06e9f2d1d2b8ea69e1810988c5a4.zip tcl-8815f9f3c32c06e9f2d1d2b8ea69e1810988c5a4.tar.gz tcl-8815f9f3c32c06e9f2d1d2b8ea69e1810988c5a4.tar.bz2 |
Eliminate exess spacings in many doc pages.
Diffstat (limited to 'doc/lset.n')
-rw-r--r-- | doc/lset.n | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. -'\" +'\" .TH lset n 8.4 Tcl "Tcl Built-In Commands" .so man.macros .BS @@ -16,7 +16,7 @@ lset \- Change an element in a list .SH DESCRIPTION .PP The \fBlset\fR command accepts a parameter, \fIvarName\fR, which -it interprets as the name of a variable containing a Tcl list. +it interprets as the name of a variable containing a Tcl list. It also accepts zero or more \fIindices\fR into the list. The indices may be presented either consecutively on the command line, or grouped in a @@ -40,7 +40,7 @@ In this case, \fInewValue\fR replaces the old value of the variable .PP When presented with a single index, the \fBlset\fR command treats the content of the \fIvarName\fR variable as a Tcl list. -It addresses the \fIindex\fR'th element in it +It addresses the \fIindex\fR'th element in it (0 refers to the first element of the list). When interpreting the list, \fBlset\fR observes the same rules concerning braces and quotes and backslashes as the Tcl command @@ -136,7 +136,7 @@ The indicated return value also becomes the new value of \fIx\fR. \fI\(-> {{a b} {c d}} {{e f} {j h}}\fR .CE .SH "SEE ALSO" -list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), +list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lsort(n), lrange(n), lreplace(n), string(n) .SH KEYWORDS |