Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bc3e86b158995e8ff5e9bf07fc8522c7d8164845
Ticket: 1415725fffffffffffffffffffffffffffffffff
Incorrect example code in dict man page
User & Date: nobody on 2006-01-26 21:45:47
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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)
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "Incorrect example code in dict man page"
  11. type changed to: "Bug"