Linked List Access

BlitzMax Forums/BlitzMax Beginners Area/Linked List Access

you can access an item in a list like this (note that you need to cast the result of the ValueAtIndex method to the correct type):
list:TList=CreateList()

list.AddLast "hello"
list.AddLast "there"

Print String(list.ValueAtIndex(0))