summaryrefslogtreecommitdiffstats
path: root/tcl8.6/doc/llength.n
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-12-25 17:45:11 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-12-25 17:45:11 (GMT)
commit5f5fd2864a3193a8d5da12fcb92ba7379084c286 (patch)
treebcdca927ed2a7b05c647b9a6bfdfd4a7ca5c730e /tcl8.6/doc/llength.n
parent535baffcecf6e738102fc12cda0109bc963e150f (diff)
downloadblt-5f5fd2864a3193a8d5da12fcb92ba7379084c286.zip
blt-5f5fd2864a3193a8d5da12fcb92ba7379084c286.tar.gz
blt-5f5fd2864a3193a8d5da12fcb92ba7379084c286.tar.bz2
update tcl/tk
Diffstat (limited to 'tcl8.6/doc/llength.n')
-rw-r--r--tcl8.6/doc/llength.n55
1 files changed, 0 insertions, 55 deletions
diff --git a/tcl8.6/doc/llength.n b/tcl8.6/doc/llength.n
deleted file mode 100644
index 79f93c0..0000000
--- a/tcl8.6/doc/llength.n
+++ /dev/null
@@ -1,55 +0,0 @@
-'\"
-'\" Copyright (c) 1993 The Regents of the University of California.
-'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
-'\" Copyright (c) 2001 Kevin B. Kenny <kennykb@acm.org>. All rights reserved.
-'\"
-'\" 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
-'\" Note: do not modify the .SH NAME line immediately below!
-.SH NAME
-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
-% \fBllength\fR {a b c}
-3
-% \fBllength\fR {}
-0
-.CE
-.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
-% \fBllength\fR {a b { } c d e}
-6
-.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), lindex(n), linsert(n), lsearch(n),
-lset(n), lsort(n), lrange(n), lreplace(n)
-.SH KEYWORDS
-element, list, length