summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-09-25 19:20:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-09-25 19:20:52 (GMT)
commit55c5c30cfc514048eae8b4665b2891e6de6a0879 (patch)
tree31e84c42abb35660896143b9edda4e48f0bdb010 /doc
parent14ca90153204a94f43f6f65166d2caa82849c344 (diff)
downloadtcl-55c5c30cfc514048eae8b4665b2891e6de6a0879.zip
tcl-55c5c30cfc514048eae8b4665b2891e6de6a0879.tar.gz
tcl-55c5c30cfc514048eae8b4665b2891e6de6a0879.tar.bz2
* doc/global.n: Correct false claim about [info locals].
Diffstat (limited to 'doc')
-rw-r--r--doc/global.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/global.n b/doc/global.n
index e330954..6b08234 100644
--- a/doc/global.n
+++ b/doc/global.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: global.n,v 1.12 2007/12/13 15:22:32 dgp Exp $
+'\" RCS: @(#) $Id: global.n,v 1.12.2.1 2008/09/25 19:20:55 dgp Exp $
'\"
.so man.macros
.TH global n "" Tcl "Tcl Built-In Commands"
@@ -21,8 +21,9 @@ global \- Access global variables
.PP
This command has no effect unless executed in the context of a proc body.
If the \fBglobal\fR command is executed in the context of a proc body, it
-creates local variables linked to the corresponding global variables (and
-therefore these variables are listed by info locals).
+creates local variables linked to the corresponding global variables (though
+these linked variables, like those created by \fBupvar\fR, are not included
+in the list returned by \fBinfo locals\fR).
.PP
If \fIvarname\fR contains namespace qualifiers, the local variable's name is
the unqualified name of the global variable, as determined by the