ResetList()
Syntax
ResetList(linkedlist())Description
Resets the current list element to be before the first element. This means than no element is actually valid. However, this is very useful to allow you to process all the elements by using NextElement().
Parameter:
linkedlist() - The name of your linked list variable, created with the NewList command. You must specify the brackets after the list name.
Return value:
This command does not return any value.
Example:NewList Friends.s() AddElement(Friends()) Friends() = "Arnaud" AddElement(Friends()) Friends() = "Seb" ResetList(Friends()) While NextElement(Friends()) Debug Friends() ; Display all the list elements Wend
Supported OS
All