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.

Thanks a lot guys, I get it. It seems that it's no good to use lists here indeed. Too bad because I was pretty relaxed at the idea of being able to add and remove elements while not having to worry about array dimensions.

Is there a way to re-dimension an array of objetcs without losing all the data inside those objects? I'm basically trying to make a 2D editor where you can build objects from many sprites. So basically I wanted an object to be a list of sprites instead of being an array of sprites.

As I'd really like to have virtually no limit to the amount of sprites used, a way to redimension this array would be welcome. I don't see how I can do it with slices...

Thanks a lot once again.