Overview
| Artifact ID: | f7cfb5c78070607defaff73fdc22cdbcf4abc452 |
|---|---|
| Ticket: | 773280ffffffffffffffffffffffffffffffffff
lindex bug |
| User & Date: | kennykb on 2003-07-18 05:06:31 |
Changes
- closedate changed to: "2003-07-17T22:06:31"
- closer changed to: "kennykb"
- 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. - login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "kennykb"