diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-01 23:36:46 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-01 23:36:46 (GMT) |
commit | c7d4f0143c9004a2ad087ba1faf97eaec526c3e2 (patch) | |
tree | b14613647bccdf8360da6c3a755b0ab6d29b5279 /doc/lrepeat.n | |
parent | 8700b04b46fb89254c0ce1489142dd0a7bf68702 (diff) | |
download | tcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.zip tcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.tar.gz tcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.tar.bz2 |
Minor documentation improvements
Diffstat (limited to 'doc/lrepeat.n')
-rw-r--r-- | doc/lrepeat.n | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/lrepeat.n b/doc/lrepeat.n index fdd1388..f47c7a3 100644 --- a/doc/lrepeat.n +++ b/doc/lrepeat.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: lrepeat.n,v 1.4 2007/10/26 20:11:53 dgp Exp $ +'\" RCS: @(#) $Id: lrepeat.n,v 1.5 2007/11/01 23:36:46 dkf Exp $ '\" .so man.macros .TH lrepeat n 8.5 Tcl "Tcl Built-In Commands" @@ -25,10 +25,14 @@ is identical to \fBlist arg ...\fR, though the \fIarg\fR is required with \fBlrepeat\fR. .SH EXAMPLES .CS -lrepeat 3 a => a a a -lrepeat 3 [lrepeat 3 0] => {0 0 0} {0 0 0} {0 0 0} -lrepeat 3 a b c => a b c a b c a b c -lrepeat 3 [lrepeat 2 a] b c => {a a} b c {a a} b c {a a} b c +\fBlrepeat\fR 3 a + \fI\(-> a a a\fR +\fBlrepeat\fR 3 [\fBlrepeat\fR 3 0] + \fI\(-> {0 0 0} {0 0 0} {0 0 0}\fR +\fBlrepeat\fR 3 a b c + \fI\(-> a b c a b c a b c\fR +\fBlrepeat\fR 3 [\fBlrepeat\fR 2 a] b c + \fI\(-> {a a} b c {a a} b c {a a} b c\fR .CE .SH "SEE ALSO" list(n), lappend(n), linsert(n), llength(n), lset(n) |