Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-26 | core: commands that take an index now use integer expressions | Steve Bennett | 1 | -3/+3 | |
This means that instead of just [list index 2+1], we can now do [list index end-$n*2+1] This applies to: lindex, linsert, lreplace, lset, lrange, lsort, regexp, regsub string index,first,last,range Also add tests for both direct integer expressions and indexes. Still needs doc update. Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2018-09-21 | lreplace: Implement TIP #505 | Steve Bennett | 1 | -3/+83 | |
More consistent behaviour of replacing past end of list Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2011-11-25 | Minor message changes to match Tcl 8.6 | Steve Bennett | 1 | -0/+133 | |
And import some up-to-date tests from Tcl 8.6 Signed-off-by: Steve Bennett <steveb@workware.net.au> |