Linked Lists
A linked list allows you to efficiently add and remove objects to a collection of objects.
To create a linked list, use the CreateList command.
You add objects to a linked list using ListAddFirst or ListAddLast. Both commands return a link object which can be used to later remove the added object with the RemoveLink command. You can also remove objects with the ListRemove command. However this is not as efficient as using RemoveLink because the list must first be searched for the object to be removed.
To visit all the objects in a linked list, you can use a For...EachIn loop.