summaryrefslogtreecommitdiffstats
path: root/doc/llength.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/llength.n')
-rw-r--r--doc/llength.n19
1 files changed, 7 insertions, 12 deletions
diff --git a/doc/llength.n b/doc/llength.n
index 574834f..d3d7e14 100644
--- a/doc/llength.n
+++ b/doc/llength.n
@@ -5,7 +5,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH llength n "" Tcl "Tcl Built-In Commands"
.so man.macros
.BS
@@ -15,14 +15,14 @@ llength \- Count the number of elements in a list
.SH SYNOPSIS
\fBllength \fIlist\fR
.BE
+
.SH DESCRIPTION
.PP
Treats \fIlist\fR as a list and returns a decimal string giving
the number of elements in it.
+
.SH EXAMPLES
-.PP
The result is the number of elements:
-.PP
.CS
% \fBllength\fR {a b c d e}
5
@@ -34,7 +34,6 @@ The result is the number of elements:
.PP
Elements are not guaranteed to be exactly words in a dictionary sense
of course, especially when quoting is used:
-.PP
.CS
% \fBllength\fR {a b {c d} e}
4
@@ -43,18 +42,14 @@ of course, especially when quoting is used:
.CE
.PP
An empty list is not necessarily an empty string:
-.PP
.CS
% set var { }; puts "[string length $var],[\fBllength\fR $var]"
1,0
.CE
+
.SH "SEE ALSO"
-list(n), lappend(n), lassign(n), ledit(n), lindex(n), linsert(n),
-lmap(n), lpop(n), lrange(n), lremove(n), lrepeat(n), lreplace(n),
-lreverse(n), lsearch(n), lseq(n), lset(n), lsort(n)
+list(n), lappend(n), lindex(n), linsert(n), lsearch(n),
+lset(n), lsort(n), lrange(n), lreplace(n)
+
.SH KEYWORDS
element, list, length
-'\" Local Variables:
-'\" mode: nroff
-'\" fill-column: 78
-'\" End: