diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2016-10-30 16:52:50 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2016-10-30 16:52:50 (GMT) |
commit | 779b8dad76799b4cb999879e6954f8c9d9e89cb8 (patch) | |
tree | d996e714f1157fdf1bb914056e039cb2d6c07992 /doc | |
parent | 16dbe3f5a2b7a0f6257c7858899fd79395bbe3c5 (diff) | |
parent | cd428c1a448edb198b98051f394562bf8f2dc9b5 (diff) | |
download | tcl-779b8dad76799b4cb999879e6954f8c9d9e89cb8.zip tcl-779b8dad76799b4cb999879e6954f8c9d9e89cb8.tar.gz tcl-779b8dad76799b4cb999879e6954f8c9d9e89cb8.tar.bz2 |
[253ba6e818] Improved description of [variable] behaviour.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/variable.n | 7 |
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: |