Incorrect example code in dict man page
Closed / Fixed1415725fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-26 21:45:47
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}] {
...
}
My email: [email protected] (Heiner Marxen)
dkfplain2006-01-27 06:21:28
Logged In: YES user_id=79902 Thanks for catching this
dkf Ticket [1415725fff]: 2 changes
[History diff]2006-01-27 06:21:29
Log in (anonymous is fine) to add a comment.