dict doc defect
Closed / Duplicate1415704fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-26 21:21:58
Heiner Marxen reports on clt a problem in an example in
dict.n:
In the most recent man page for the new "dict" command
(http://www.tcl.tk/man/tcl8.5/TclCmd/dict.htm), section
EXAMPLES, I read:
foreach c {abcdefghijklmnopqrstuvwxyz} {
dict set capital C $c [string toupper $c]
}
Shouldn't that be either of:
foreach c {a b c d e f g h i j k l m n o p q r s t u v
w x y z} {
...
}
foreach c [split {abcdefghijklmnopqrstuvwxyz}] {
...
}
msofer Closed ticket [1415704fff].
[History diff]2006-01-27 05:07:44
msofer Ticket [1415704fff]: 3 changes
[History diff]2006-01-27 05:07:45
Log in (anonymous is fine) to add a comment.