TList indexing?

BlitzMax Forums/BlitzMax Beginners Area/TList indexing?

Telemental(Posted 2005) [#1]
is there any way to retrieve a type instance by index from a tlist? i.e.:

index = 5 '(some arbitrary number in the middle of a list)
while (index < tlistobject.count()){
a:typeinlist = (retrieving object from tlist...)
wend

i understand that i could handle this with an array, but I preferred the built-in functionality of the linked list...


Telemental(Posted 2005) [#2]
never mind... the post before this one answers it. thanks!


Dreamora(Posted 2005) [#3]
there is a command for this in the TList Type