diff options
author | dgp <dgp@users.sourceforge.net> | 2008-09-25 19:18:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-09-25 19:18:57 (GMT) |
commit | 071a58feb42e0d707dbccd4ab18c0c1b195424d8 (patch) | |
tree | a110716bec3d46941b05121287dfc6cfd2dd6846 /doc | |
parent | 463156214c814eab2dea465d9169fd6c23f1c27c (diff) | |
download | tcl-071a58feb42e0d707dbccd4ab18c0c1b195424d8.zip tcl-071a58feb42e0d707dbccd4ab18c0c1b195424d8.tar.gz tcl-071a58feb42e0d707dbccd4ab18c0c1b195424d8.tar.bz2 |
* doc/global.n: Correct false claim about [info locals].
Diffstat (limited to 'doc')
-rw-r--r-- | doc/global.n | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/global.n b/doc/global.n index ece44a1..ae52a70 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.4.2.1 2004/10/27 12:52:40 dkf Exp $ +'\" RCS: @(#) $Id: global.n,v 1.4.2.2 2008/09/25 19:19:01 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 |