ResetList()
语法
ResetList(List())概要
Resets the current list element to be before the first element. This means no element is actually valid. However, this is very useful to allow you to process all the elements by using NextElement().
参数
List() The name of your list variable, created with the NewList function. You must include the brackets after the list name.
返回值
无.
示例
NewList Friends.s() AddElement(Friends()) Friends() = "Arnaud" AddElement(Friends()) Friends() = "Seb" ResetList(Friends()) While NextElement(Friends()) Debug Friends() ; Display all the list elements Wend
参阅
NextElement(), ListIndex()
已支持操作系统
所有