PreviousElement()
语法
Result = PreviousElement(List())概要
Moves from the current element to the previous element in the list.
参数
List() The name of your list variable, created with the NewList function. You must include the brackets after the list name.
返回值
Returns the address of the data in the previous list element if successful and zero if there if there is no previous element.
示例
NewList Numbers.w() For i=1 To 10 AddElement(Numbers()) Numbers() = i Next Repeat MessageRequester("Number", Str(Numbers()), #PB_MessageRequester_OK) Until PreviousElement(Numbers()) = 0
参阅
NextElement(), FirstElement(), LastElement(), SelectElement(), ListIndex()
已支持操作系统
所有