view loop indexVar ?first? ?limit? ?step? body
This is similar to the command [mk::loop]. The difference is that the variable indexVar will take integer values instead of cursor values, and that the looping is over rows of view rather than a view indicated by a path.
The arguments first, limit, and step are integer-valued expressions, with default values 0, [view size], and 1, respectively.