summaryrefslogtreecommitdiffstats
path: root/doc/variable.n
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2005-02-16 18:51:55 (GMT)
committermsofer <msofer@noemail.net>2005-02-16 18:51:55 (GMT)
commitedf79be2ba9b19c9b8c46923f4b1854e2e4806cb (patch)
treef5ab89341518c442110291449fda525b07fe274f /doc/variable.n
parent826e7d8f4ff6cc3a83354be8d21c871368100faf (diff)
downloadtcl-edf79be2ba9b19c9b8c46923f4b1854e2e4806cb.zip
tcl-edf79be2ba9b19c9b8c46923f4b1854e2e4806cb.tar.gz
tcl-edf79be2ba9b19c9b8c46923f4b1854e2e4806cb.tar.bz2
* /doc/variable.n: fix for [Bug 1124160], variables are detected
by [info vars] but not by [info locals]. FossilOrigin-Name: fb6f6d5530d7443e8b53becf1b4a03cc0876d2d6
Diffstat (limited to 'doc/variable.n')
-rw-r--r--doc/variable.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/variable.n b/doc/variable.n
index 1676913..080dc44 100644
--- a/doc/variable.n
+++ b/doc/variable.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: variable.n,v 1.6 2004/10/27 14:43:54 dkf Exp $
+'\" RCS: @(#) $Id: variable.n,v 1.7 2005/02/16 18:52:24 msofer Exp $
'\"
.so man.macros
.TH variable n 8.0 Tcl "Tcl Built-In Commands"
@@ -43,7 +43,7 @@ command, but not to the \fBinfo exists\fR command.
If the \fBvariable\fR command is executed inside a Tcl procedure,
it creates local variables
linked to the corresponding namespace variables (and therefore these
-variables are listed by \fBinfo locals\fR.)
+variables are listed by \fBinfo vars\fR.)
In this way the \fBvariable\fR command resembles the \fBglobal\fR command,
although the \fBglobal\fR command
only links to variables in the global namespace.