ResetMap()

语法

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

参数

Map() The map to use.

返回值

无.

示例

  NewMap Country.s()

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

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

参阅

NextMapElement()

已支持操作系统

所有

<- PushMapPosition() - Map Index