aboutsummaryrefslogtreecommitdiff
path: root/tests/lrange.test
AgeCommit message (Collapse)AuthorFilesLines
2020-12-26core: commands that take an index now use integer expressionsSteve Bennett1-2/+2
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>
2011-11-25Minor message changes to match Tcl 8.6Steve Bennett1-0/+85
And import some up-to-date tests from Tcl 8.6 Signed-off-by: Steve Bennett <steveb@workware.net.au>