Attachment "def.patch" to
ticket [549285ffff]
added by
dgp
2002-06-01 06:56:49.
Index: doc/Tcl.n
===================================================================
RCS file: /cvsroot/tcl/tcl/doc/Tcl.n,v
retrieving revision 1.3
diff -u -r1.3 Tcl.n
--- doc/Tcl.n 16 Apr 1999 00:46:33 -0000 1.3
+++ doc/Tcl.n 31 May 2002 23:55:00 -0000
@@ -82,13 +82,14 @@
.RS
.TP 15
\fB$\fIname\fR
-\fIName\fR is the name of a scalar variable; the name is terminated
-by any character that isn't a letter, digit, or underscore.
+\fIName\fR is the name of a scalar variable; the name is a sequence
+of one or more characters that are a letter, digit, or underscore.
.TP 15
\fB$\fIname\fB(\fIindex\fB)\fR
\fIName\fR gives the name of an array variable and \fIindex\fR gives
the name of an element within that array.
-\fIName\fR must contain only letters, digits, and underscores.
+\fIName\fR must contain only letters, digits, and underscores,
+but may be an empty string.
Command substitutions, variable substitutions, and backslash
substitutions are performed on the characters of \fIindex\fR.
.TP 15