summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-25 09:58:53 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-25 09:58:53 (GMT)
commitc77693e5b3d06dd3c1f314ce735ab35c37718a1a (patch)
tree802c5a9d67100808f6666491cce9ac49b7b5f7fa
parent1753135eaab5f74ede9baee617e95ab211fbd4f7 (diff)
downloadtcl-c77693e5b3d06dd3c1f314ce735ab35c37718a1a.zip
tcl-c77693e5b3d06dd3c1f314ce735ab35c37718a1a.tar.gz
tcl-c77693e5b3d06dd3c1f314ce735ab35c37718a1a.tar.bz2
GOOBE for command results in examples
-rw-r--r--doc/upvar.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/upvar.n b/doc/upvar.n
index acce716..de29c99 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.12 2005/05/10 18:34:03 kennykb Exp $
+'\" RCS: @(#) $Id: upvar.n,v 1.13 2007/10/25 09:58:53 dkf Exp $
'\"
.so man.macros
.TH upvar n "" Tcl "Tcl Built-In Commands"
@@ -16,7 +16,6 @@ upvar \- Create link to variable in a different stack frame
.SH SYNOPSIS
\fBupvar \fR?\fIlevel\fR? \fIotherVar myVar \fR?\fIotherVar myVar \fR...?
.BE
-
.SH DESCRIPTION
.PP
This command arranges for one or more local variables in the current
@@ -81,7 +80,10 @@ unexpected manner. If a variable trace is defined on \fIotherVar\fR, that
trace will be triggered by actions involving \fImyVar\fR. However,
the trace procedure will be passed the name of \fImyVar\fR, rather
than the name of \fIotherVar\fR. Thus, the output of the following code
-will be "\fIlocalVar\fR" rather than "\fIoriginalVar\fR":
+will be
+.QW "\fIlocalVar\fR"
+rather than
+.QW "\fIoriginalVar\fR" :
.CS
proc \fItraceproc\fR { name index op } {
puts $name
@@ -109,9 +111,7 @@ proc decr {varName {decrement 1}} {
incr var [expr {-$decrement}]
}
.CE
-
.SH "SEE ALSO"
global(n), namespace(n), uplevel(n), variable(n)
-
.SH KEYWORDS
context, frame, global, level, namespace, procedure, variable