next
Moves the current query's cursor to the next item. If current_item_index is already equal to total_items, then next generates an error.
previous
current_item_index
total_items
navigation functions
script move_to_next is if current_item_index < total_items then next end end