How to access elements in a lists ?

BlitzMax Forums/BlitzMax Beginners Area/How to access elements in a lists ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You could simply use dotlist.valueatindex(28) to get it, you don't need any super cryptical way of getting the element with ID 28 :-)

But as mentioned, it needs to visit the first 27 elements to find element 28 as a linked list does not know anything of "absolute position", only relative positions.