summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-11-01 16:29:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-11-01 16:29:37 (GMT)
commit6cae76fff41958bad5bc44f90f1e7b2f64bcbdb6 (patch)
tree02b79fc64a614c20093cb028f6f72b92f6cf6828 /doc
parentad7bebe893d9c9a533944ce54415cfd0f922cbcd (diff)
parent02769c476212b9eca784283d63eee3c3e28a3d76 (diff)
downloadtcl-6cae76fff41958bad5bc44f90f1e7b2f64bcbdb6.zip
tcl-6cae76fff41958bad5bc44f90f1e7b2f64bcbdb6.tar.gz
tcl-6cae76fff41958bad5bc44f90f1e7b2f64bcbdb6.tar.bz2
merge trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/variable.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/variable.n b/doc/variable.n
index a6e545f..8228859 100644
--- a/doc/variable.n
+++ b/doc/variable.n
@@ -45,7 +45,8 @@ linked to the corresponding namespace variables (and therefore these
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.
+resolves variable names with respect to the global namespace instead
+of the current namespace of the procedure.
If any \fIvalue\fRs are given,
they are used to modify the values of the associated namespace variables.
If a namespace variable does not exist,
@@ -98,3 +99,7 @@ namespace eval foo {
global(n), namespace(n), upvar(n)
.SH KEYWORDS
global, namespace, procedure, variable
+.\" Local variables:
+.\" mode: nroff
+.\" fill-column: 78
+.\" End: