diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/upvar.n | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2011-07-19 Alexandre Ferrieux <ferrieux@users.sourceforge.net> + + * doc/upvar.n: Undocument long gone limitation of [upvar]. + 2011-07-15 Don Porter <dgp@users.sourceforge.net> * generic/tclCompile.c: Avoid segfaults when RecordByteCodeStats() diff --git a/doc/upvar.n b/doc/upvar.n index 8985d24..60e5324 100644 --- a/doc/upvar.n +++ b/doc/upvar.n @@ -21,8 +21,7 @@ This command arranges for one or more local variables in the current procedure to refer to variables in an enclosing procedure call or to global variables. \fILevel\fR may have any of the forms permitted for the \fBuplevel\fR -command, and may be omitted if the first letter of the first \fIotherVar\fR -is not \fB#\fR or a digit (it defaults to \fB1\fR). +command, and may be omitted (it defaults to \fB1\fR). For each \fIotherVar\fR argument, \fBupvar\fR makes the variable by that name in the procedure frame given by \fIlevel\fR (or at global level, if \fIlevel\fR is \fB#0\fR) accessible |