Tk Library Source Code

View Ticket
Login
Ticket UUID: 940651
Title: error in ::csv::read2matrix
Type: Bug Version: None
Submitter: nobody Created on: 2004-04-23 11:32:01
Subsystem: csv Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-05-04 02:55:06
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2004-05-03 19:55:06
Description:
in csv.tcl (line132)
has to be a '5' instead a '4'.

case '4' occures twice!


 switch -exact -- [llength $args] {

.
.
.
5 { 
    foreach {a b c d e} $args break
            if {![string equal $a "-alternate"]} {
                return -code error "wrong#args: Should
be ?-alternate? chan m ?separator? ?expand?"
            }
            set alternate 1

            set chan    $b
            set m       $c
            set sepChar $d
            set expand  $e
        }
.
.
.
}
User Comments: andreas_kupries added on 2004-05-04 02:55:06:
Logged In: YES 
user_id=75003

Confirmed. Thanks. Fixed in the CVS head now.