summaryrefslogtreecommitdiffstats
path: root/doc/upvar.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-13 09:42:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-13 09:42:02 (GMT)
commitd8ff80b20626a10935acd61284aef1af09f313cc (patch)
treeb6232c7c66206953f5f3207275b6566ffc21a0eb /doc/upvar.n
parent6efa34019112d03215fd4509f26e10f6bfa908fd (diff)
downloadtcl-d8ff80b20626a10935acd61284aef1af09f313cc.zip
tcl-d8ff80b20626a10935acd61284aef1af09f313cc.tar.gz
tcl-d8ff80b20626a10935acd61284aef1af09f313cc.tar.bz2
Formatting
Diffstat (limited to 'doc/upvar.n')
-rw-r--r--doc/upvar.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/upvar.n b/doc/upvar.n
index 29af621..d6baa45 100644
--- a/doc/upvar.n
+++ b/doc/upvar.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: upvar.n,v 1.18 2010/01/13 09:41:44 dkf Exp $
+'\" RCS: @(#) $Id: upvar.n,v 1.19 2010/01/13 09:42:02 dkf Exp $
'\"
.so man.macros
.TH upvar n "" Tcl "Tcl Built-In Commands"
@@ -56,7 +56,7 @@ proc \fIadd2\fR name {
If \fIadd2\fR is invoked with an argument giving the name of a variable,
it adds two to the value of that variable.
Although \fIadd2\fR could have been implemented using \fBuplevel\fR
-instead of \fBupvar\fR, \fBupvar\fR makes it simpler for \fBadd2\fR
+instead of \fBupvar\fR, \fBupvar\fR makes it simpler for \fIadd2\fR
to access the variable in the caller's procedure frame.
.PP
\fBnamespace eval\fR is another way (besides procedure calls)