next

Declaration

next

Description

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.

See Also

previous
current_item_index
total_items
navigation functions

Example

script move_to_next is
  if current_item_index < total_items then
    next
  end
end