TList.copy

BlitzMax Forums/BlitzMax Beginners Area/TList.copy

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.

changing a value in the copy of a list does the same in the soruce list?

Correct.
The objects inside the copied list are the same objects from the source list.
You will need to implement your own object "clone" system to create completely new objects in your target list.
Search the forum for "clone". I believe there are some code-examples which use reflection.