NewList
DescriptionNewList name.<type>()
NewList allows to declare a new dynamic linked list. Each element of the list is allocated dynamically. There are no element limits, so there can be as many as needed. A list can have any Variables standard or structured type. To view all commands used to manage lists, see the LinkedList library.
Lists are always globally accessable in PureBasic. This means that they can always be accessed from inside procedures without needing to use the Global or Shared commands.Example:
NewList mylist.l() AddElement(mylist()) mylist() = 10