diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/global.n | 5 | ||||
-rw-r--r-- | doc/info.n | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/doc/global.n b/doc/global.n index 2b8787a..d4fd4c0 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.3 2000/11/21 15:56:21 dkf Exp $ +'\" RCS: @(#) $Id: global.n,v 1.4 2002/06/11 13:22:35 msofer Exp $ '\" .so man.macros .TH global n "" Tcl "Tcl Built-In Commands" @@ -28,9 +28,6 @@ For the duration of the current procedure any reference to any of the \fIvarname\fRs will refer to the global variable by the same name. .PP -Please note that this is done by creating local variables that are -linked to the global variables, and therefore that these variables -will be listed by \fBinfo locals\fR like all other local variables. .SH "SEE ALSO" namespace(n), upvar(n), variable(n) @@ -7,7 +7,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: info.n,v 1.7 2001/05/30 08:57:06 dkf Exp $ +'\" RCS: @(#) $Id: info.n,v 1.8 2002/06/11 13:22:35 msofer Exp $ '\" .so man.macros .TH info n 8.4 Tcl "Tcl Built-In Commands" @@ -140,8 +140,8 @@ an empty string for the \fIinterp\fR argument. If \fIpattern\fR isn't specified, returns a list of all the names of currently-defined local variables, including arguments to the current procedure, if any. -Variables defined with the \fBglobal\fR and \fBupvar\fR commands -will not be returned. +Variables defined with the \fBglobal\fR, \fBupvar\fR and +\fBvariable\fR commands will not be returned. If \fIpattern\fR is specified, only those names matching \fIpattern\fR are returned. Matching is determined using the same rules as for \fBstring match\fR. |