summaryrefslogtreecommitdiffstats
path: root/doc/Tcl.n
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-06-03 16:31:21 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-06-03 16:31:21 (GMT)
commit0fff2bdf2fa5004c0b6a782ab5dbcd4831fb642d (patch)
tree7fcfc8982fc7252dadfac7585f77066844a82cdc /doc/Tcl.n
parentd39a834cca9ff62b0d417677527e08e0304d8468 (diff)
downloadtcl-0fff2bdf2fa5004c0b6a782ab5dbcd4831fb642d.zip
tcl-0fff2bdf2fa5004c0b6a782ab5dbcd4831fb642d.tar.gz
tcl-0fff2bdf2fa5004c0b6a782ab5dbcd4831fb642d.tar.bz2
clarify the empty variable name issue ([Bug 549285])
Diffstat (limited to 'doc/Tcl.n')
-rw-r--r--doc/Tcl.n9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/Tcl.n b/doc/Tcl.n
index 6bd8511..4ad1b63 100644
--- a/doc/Tcl.n
+++ b/doc/Tcl.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: Tcl.n,v 1.3 1999/04/16 00:46:33 stanton Exp $
+'\" RCS: @(#) $Id: Tcl.n,v 1.4 2002/06/03 16:31:24 msofer Exp $
'\"
.so man.macros
.TH Tcl n "8.1" Tcl "Tcl Built-In Commands"
@@ -82,13 +82,14 @@ Variable substitution may take any of the following forms:
.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