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.

no there is no difference in creating.

And if you plan to get a specific dot / element, don't use lists!
They aren't meant for indexed access.
For such things, better use an array on which you can directly access an element. (lists have the functionality as well but it will read the previous 27 objects to find the 28th)

when working with lists, you will normally use "for local dot:TDot = eachin dotlist"