NextMapElement()

Syntax

Result = NextMapElement(Map())
Description
Moves from the current element to the next element in the specified 'Map()', or onto the first element if ResetMap() was previously called. If Result is 0, there is no next element in the map, else it returns the pointer to the element data (for advanced use only).

Example:
  NewMap Country.s()

  Country("US") = "United States"
  Country("FR") = "France"
  Country("GE") = "Germany"

  ResetMap(Country())
  While NextMapElement(Country())
    Debug Country()
  Wend

Supported OS

All

<- MapSize() - Map Index - ResetMap() ->