previous

Declaration

previous

Description

Moves the current query's cursor to the previous item. If current_item_index is already equal to 1, then previous generates an error.

See Also

next
current_item_index
navigation functions

Example

script move_to_previous is
  if current_item_index > 1 then
    previous
  end
end