summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2004-08-16 14:18:24 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2004-08-16 14:18:24 (GMT)
commitb0fd12960e73a75f19054c952e0f96b76f9034ca (patch)
treee499ed436b4b92db213ed5e5405a8db7b68a60b2 /doc
parentfcdb3fb3304b33b2a76e2e47d92cdd5c2ca4c145 (diff)
downloadtcl-b0fd12960e73a75f19054c952e0f96b76f9034ca.zip
tcl-b0fd12960e73a75f19054c952e0f96b76f9034ca.tar.gz
tcl-b0fd12960e73a75f19054c952e0f96b76f9034ca.tar.bz2
fix for [Bug 1008314]
Diffstat (limited to 'doc')
-rw-r--r--doc/SetVar.35
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/SetVar.3 b/doc/SetVar.3
index 7f22096..7fa6af3 100644
--- a/doc/SetVar.3
+++ b/doc/SetVar.3
@@ -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: SetVar.3,v 1.7.2.1 2003/07/18 16:56:24 dgp Exp $
+'\" RCS: @(#) $Id: SetVar.3,v 1.7.2.2 2004/08/16 14:18:25 msofer Exp $
'\"
.so man.macros
.TH Tcl_SetVar 3 8.1 Tcl "Tcl Library Procedures"
@@ -221,6 +221,9 @@ A separator space is appended before the new list element unless
the list element is going to be the first element in a list or
sublist (i.e. the variable's current value is empty, or contains
the single character ``{'', or ends in `` }'').
+When appending, the original value of the variable must also be
+a valid list, so that the operation is the appending of a new
+list element onto a list.
.PP
\fBTcl_GetVar\fR and \fBTcl_GetVar2\fR
return the current value of a variable.