summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-10-10 16:10:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-10-10 16:10:50 (GMT)
commitd7cb9cd3d976e984b08eb651a1012e64ef12806d (patch)
treec86f27603621c7c35bc30e5a05813d1a7096e54c
parent018174673a855f66bc266baff83653aa3a4055f0 (diff)
downloadtcl-d7cb9cd3d976e984b08eb651a1012e64ef12806d.zip
tcl-d7cb9cd3d976e984b08eb651a1012e64ef12806d.tar.gz
tcl-d7cb9cd3d976e984b08eb651a1012e64ef12806d.tar.bz2
* doc/Tcl.n: Clarified that namespace separators are legal in
the variable names during $-subtitution. [Bug 615139]
-rw-r--r--ChangeLog5
-rw-r--r--doc/Tcl.n9
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8cfd0cb..c04cbfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
2002-10-10 Don Porter <dgp@users.sourceforge.net>
- * doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826]
+ * doc/Tcl.n: Clarified that namespace separators are legal in
+ the variable names during $-subtitution. [Bug 615139]
+
+ * doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826]
2002-07-22 Vince Darley <vincentdarley@users.sourceforge.net>
diff --git a/doc/Tcl.n b/doc/Tcl.n
index 4ad1b63..1277408 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.4 2002/06/03 16:31:24 msofer Exp $
+'\" RCS: @(#) $Id: Tcl.n,v 1.5 2002/10/10 16:11:01 dgp Exp $
'\"
.so man.macros
.TH Tcl n "8.1" Tcl "Tcl Built-In Commands"
@@ -83,13 +83,14 @@ Variable substitution may take any of the following forms:
.TP 15
\fB$\fIname\fR
\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.
+of one or more characters that are a letter, digit, underscore,
+or namespace separators (two or more colons).
.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,
-but may be an empty string.
+\fIName\fR must contain only letters, digits, underscores, and
+namespace separators, and may be an empty string.
Command substitutions, variable substitutions, and backslash
substitutions are performed on the characters of \fIindex\fR.
.TP 15