summaryrefslogtreecommitdiffstats
path: root/doc/lindex.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-07-17 15:00:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-07-17 15:00:43 (GMT)
commit9f51e32c984e0ad2e812d241e588c492c4179cf8 (patch)
treec3920dbd3e235492a7b453af9a7f5cf5f080c734 /doc/lindex.n
parentff87b46b5269cbd4def059244e47ec2db336e166 (diff)
downloadtcl-9f51e32c984e0ad2e812d241e588c492c4179cf8.zip
tcl-9f51e32c984e0ad2e812d241e588c492c4179cf8.tar.gz
tcl-9f51e32c984e0ad2e812d241e588c492c4179cf8.tar.bz2
Documentation improvements (small; some revision to parsing script) to improve
the quality of HTML doc builds.
Diffstat (limited to 'doc/lindex.n')
-rw-r--r--doc/lindex.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lindex.n b/doc/lindex.n
index 537b09b..bb272a6 100644
--- a/doc/lindex.n
+++ b/doc/lindex.n
@@ -26,13 +26,13 @@ Tcl list and presented as a single argument.
If no indices are presented, the command takes the form:
.PP
.CS
-lindex list
+\fBlindex \fIlist\fR
.CE
.PP
or
.PP
.CS
-lindex list {}
+\fBlindex \fIlist\fR {}
.CE
.PP
In this case, the return value of \fBlindex\fR is simply the value of the
@@ -57,19 +57,19 @@ used in turn to select an element from the previous indexing operation,
allowing the script to select elements from sublists. The command,
.PP
.CS
-lindex $a 1 2 3
+\fBlindex\fR $a 1 2 3
.CE
.PP
or
.PP
.CS
-lindex $a {1 2 3}
+\fBlindex\fR $a {1 2 3}
.CE
.PP
is synonymous with
.PP
.CS
-lindex [lindex [lindex $a 1] 2] 3
+\fBlindex\fR [\fBlindex\fR [\fBlindex\fR $a 1] 2] 3
.CE
.SH EXAMPLES
.PP