diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-08-16 14:11:15 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-08-16 14:11:15 (GMT) |
commit | d07ab28f62a08b419ff7177e90627bb1cabc0934 (patch) | |
tree | 1ad6d132ced7638ca7c489985047946ff4b86060 /doc/SetVar.3 | |
parent | d9ab72b3082ccef8f68082f7e05484e303a27d37 (diff) | |
download | tcl-d07ab28f62a08b419ff7177e90627bb1cabc0934.zip tcl-d07ab28f62a08b419ff7177e90627bb1cabc0934.tar.gz tcl-d07ab28f62a08b419ff7177e90627bb1cabc0934.tar.bz2 |
fix for [Bug 1008314]
Diffstat (limited to 'doc/SetVar.3')
-rw-r--r-- | doc/SetVar.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/SetVar.3 b/doc/SetVar.3 index 90b140b..c18c4c1 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.8 2003/07/18 16:56:41 dgp Exp $ +'\" RCS: @(#) $Id: SetVar.3,v 1.9 2004/08/16 14:11:16 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. |