ResetMap()

Syntax

ResetMap(Map())
Description
Resets the current element of the specified 'Map()' to be before the first element. This means than no current element. However, this is very useful to process all the elements by using NextMapElement().

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

<- NextMapElement() - Map Index