List of structures.

Now that we know about structures, how can we store multiple structures into one single variable? The best solution is either:

1. An array of structures
2. List of structures.

Let's take a look at list of structures and later array of structures. Everytime you add a new item to a linked-list, the variable type is initialized, therefore you need to restructure the item.

For (i$, 1, 10)
Add(l$);
struct(l$, "a", "b");
l.a$ = i$;
l.b$ = i$ + 10;
end;

ForEach(l$)
ShowMessage(l.a$ % "," % l.b$);
end;

There is nothing more to add here other than the fact that you can define different types of structures for each list item. Powerful isn't it?