diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-02 17:00:36 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-02 17:00:36 (GMT) |
commit | 88f9d3bd05de49706576568a9f03370565de7f78 (patch) | |
tree | dca9d4be230f431a028253edd974a75803f59f91 /doc/dict.n | |
parent | ec917053061e438dba385646ae15104397cd6dfa (diff) | |
download | tcl-88f9d3bd05de49706576568a9f03370565de7f78.zip tcl-88f9d3bd05de49706576568a9f03370565de7f78.tar.gz tcl-88f9d3bd05de49706576568a9f03370565de7f78.tar.bz2 |
Modify the semantics of [dict set] to be what everyone expected them to be
in a straw poll. Also made T_DODone;T_DONext a non-fatal sequence, leading
to simplified code.
Diffstat (limited to 'doc/dict.n')
-rw-r--r-- | doc/dict.n | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: dict.n,v 1.6 2004/09/18 17:01:06 dkf Exp $ +'\" RCS: @(#) $Id: dict.n,v 1.7 2004/10/02 17:00:38 dkf Exp $ '\" .so man.macros .TH dict n 8.5 Tcl "Tcl Built-In Commands" @@ -157,9 +157,9 @@ key but no value. \fBdict set \fIdictionaryVariable key \fR?\fIkey ...\fR? \fIvalue\fR This operation takes the name of a variable containing a dictionary value and places an updated dictionary value in that variable -containing a mapping from the given key to the given value. In a -manner analogous to \fBlset\fR, where multiple keys are present, they -do indexing into nested dictionaries. +containing a mapping from the given key to the given value. When +multiple keys are present, this operation creates or updates a chain +of nested dictionaries. .TP \fBdict size \fIdictionaryValue\fR Return the number of key/value mappings in the given dictionary value. |