Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7cfb5c78070607defaff73fdc22cdbcf4abc452
Ticket: 773280ffffffffffffffffffffffffffffffffff
lindex bug
User & Date: kennykb on 2003-07-18 05:06:31
Changes

  1. closedate changed to: "2003-07-17T22:06:31"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    This is not a bug; [lindex] - and indeed all the list commands -
    are documented to require well-formed lists as their arguments.
    
    If you wish to separate a string into fields separated with
    whitespace, do something like
    
    [lindex [split $process { }] 3]
    
    Note that Tcl 7.6 is the last release in which this code would
    have worked - releases since then have attempted to parse
    the entire list when processing [lindex].
    
    Please feel free to ask on comp.lang.tcl for additional
    information.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "kennykb"