v input view count row count
Take returns a view with rows "taken" from v. If the count is negative, rows are taken for the end in reverse order. If the count exceeds the number of rows, the rows wrap around to the other end of v.
Examples:set v [view A def {1 2 3}]
view $v take 2
view $v take 5
A 0 1 1 2
view $v take -2
A 0 1 1 2 2 3 3 1 4 2
view $v take -5
A 0 3 1 2
A 0 3 1 2 2 1 3 3 4 2