diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 12:53:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 12:53:22 (GMT) |
commit | 4c2d0f20bfa9108949678cf49bfdc58eedc7bb93 (patch) | |
tree | b3ce80d2f183dc1bd02185c2bf44738b4377c9ed /doc/llength.n | |
parent | cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07 (diff) | |
download | tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.zip tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.gz tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.bz2 |
More minor doc fixes
Diffstat (limited to 'doc/llength.n')
-rw-r--r-- | doc/llength.n | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/llength.n b/doc/llength.n index f784614..6b395b6 100644 --- a/doc/llength.n +++ b/doc/llength.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: llength.n,v 1.7 2004/04/16 22:20:58 dkf Exp $ +'\" RCS: @(#) $Id: llength.n,v 1.8 2004/10/27 12:53:22 dkf Exp $ '\" .so man.macros .TH llength n "" Tcl "Tcl Built-In Commands" @@ -26,26 +26,26 @@ the number of elements in it. .SH EXAMPLES The result is the number of elements: .CS -% llength {a b c d e} +% \fBllength\fR {a b c d e} 5 -% llength {a b c} +% \fBllength\fR {a b c} 3 -% llength {} +% \fBllength\fR {} 0 .CE - +.PP Elements are not guaranteed to be exactly words in a dictionary sense of course, especially when quoting is used: .CS -% llength {a b {c d} e} +% \fBllength\fR {a b {c d} e} 4 -% llength {a b { } c d e} +% \fBllength\fR {a b { } c d e} 6 .CE - +.PP An empty list is not necessarily an empty string: .CS -% set var { }; puts "[string length $var],[llength $var]" +% set var { }; puts "[string length $var],[\fBllength\fR $var]" 1,0 .CE |