Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7057b69fc7d3315a102a02ee1c95517d2245f8a0
Ticket: 1631364fffffffffffffffffffffffffffffffff
lindex behaves strangely
User & Date: mpc_janssen on 2007-01-09 10:38:45
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I am testing on 85a6 where lindex is behaving rather strangely. See the following interactive session
    
    () 24 % lindex 0 "a b"
    a
    () 25 % lindex "a b" 0
    a
    
    So it seems the order of arguments can be reversed.
    This leads to problems:
    
    ) 27 % lindex 1 0 ; # expected to return 1
    () 28 % lindex [list 1] 0
    1
    () 29 %
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mpc_janssen"
  10. subsystem changed to: "17. Commands I-L"
  11. title changed to: "lindex behaves strangely"
  12. type changed to: "Bug"