Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3358 dict doc defect

obsolete: 8.5a3
closed-duplicate
5
2006-01-26
2006-01-26
Anonymous
No

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}] {
...

}

Discussion

  • miguel sofer
    miguel sofer
    2006-01-26

    • status: open --> closed
     
  • miguel sofer
    miguel sofer
    2006-01-26

    • status: closed --> closed-duplicate