diff options
Diffstat (limited to 'doc/global.n')
-rw-r--r-- | doc/global.n | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/global.n b/doc/global.n index d4fd4c0..f8e502e 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 2002/06/11 13:22:35 msofer Exp $ +'\" RCS: @(#) $Id: global.n,v 1.5 2004/04/28 13:11:33 msofer Exp $ '\" .so man.macros .TH global n "" Tcl "Tcl Built-In Commands" @@ -28,6 +28,10 @@ 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 +\fIvarname\fR is always treated as the name of a variable, not an +array element. An error is returned if the name looks like an array element, +such as \fBa(b)\fR. + .SH "SEE ALSO" namespace(n), upvar(n), variable(n) |