2
0

intro.bbdoc 587 B

1234567
  1. A linked list allows you to efficiently add and remove objects to and from a collection of objects.
  2. To create a linked list, use the #CreateList command.
  3. Add objects to a linked list using #ListAddFirst or #ListAddLast. Both commands return a link object which can be used to later remove the 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.
  4. To visit all the objects in a linked list, you can use an #EachIn loop.