Overview
| Artifact ID: | f96551ea54cd22c7c4c8aed0add143d2890fb0a4 |
|---|---|
| Ticket: | 693836ffffffffffffffffffffffffffffffffff
TIP#127 implementation |
| User & Date: | mic42 on 2003-03-01 23:10:28 |
Changes
- icomment:
File Added - 43786: tclCmdIL.c.diff Logged In: YES user_id=302287 I made a new patch, further enhancing lsearch (and lsort as a side effect). The new patch does the following: add two new options to lsearch: -index index -subindices -subindices is mutually exclusive with -inline and may only be specified if -index is specified. ----- ?-index index? Takes an index in the form used by lindex or lset, a list of indices is allowed to search or sort based on the values in nested sublists. ?-subindices? Returns indices one can use directly in [lset] or [lindex] to access the sublist element found. ----
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"