summaryrefslogtreecommitdiffstats
path: root/doc/lset.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-06-16 14:48:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-06-16 14:48:35 (GMT)
commitb700360ad9501defb0b1e2d86353ac8d0db8eef4 (patch)
tree8b3bcb3adb8bd2eb44bcf16bb091722274e03e9e /doc/lset.n
parentc755ef08151343eb145710489f8c999edbef15ff (diff)
parent296aebbd6ee092a25741684fa37ee31ef5a3e222 (diff)
downloadtcl-b700360ad9501defb0b1e2d86353ac8d0db8eef4.zip
tcl-b700360ad9501defb0b1e2d86353ac8d0db8eef4.tar.gz
tcl-b700360ad9501defb0b1e2d86353ac8d0db8eef4.tar.bz2
Merge up to the 8.6.0 release.
Diffstat (limited to 'doc/lset.n')
-rwxr-xr-xdoc/lset.n10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/lset.n b/doc/lset.n
index dfc3d2b..805de16 100755
--- a/doc/lset.n
+++ b/doc/lset.n
@@ -4,8 +4,6 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: lset.n,v 1.20 2009/10/21 15:13:15 dkf Exp $
-'\"
.so man.macros
.TH lset n 8.4 Tcl "Tcl Built-In Commands"
.BS
@@ -28,13 +26,13 @@ Finally, it accepts a new value for an element of \fIvarName\fR.
If no indices are presented, the command takes the form:
.PP
.CS
-lset varName newValue
+\fBlset\fR varName newValue
.CE
.PP
or
.PP
.CS
-lset varName {} newValue
+\fBlset\fR varName {} newValue
.CE
.PP
In this case, \fInewValue\fR replaces the old value of the variable
@@ -70,13 +68,13 @@ allowing the script to alter elements in sublists (or append elements
to sublists). The command,
.PP
.CS
-lset a 1 2 newValue
+\fBlset\fR a 1 2 newValue
.CE
.PP
or
.PP
.CS
-lset a {1 2} newValue
+\fBlset\fR a {1 2} newValue
.CE
.PP
replaces element 2 of sublist 1 with \fInewValue\fR.