view v tag name   =>   view
v   input view
name   new tag column name

Tag returns v with an extra name column added to the right. This integer column contains the row numbers, from zero on up.

Example:
set v [view {A B} def {a b c d e f}]

view $v tag N
ABN
0ab0
1cd1
2ef2