lists in types

BlitzMax Forums/BlitzMax Programming/lists in types

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.

that works great thanks. Only other question is once i've called the listaddlast can i then reuse u?

i.e
u.uType = "Hello"
lisaddlast p.units, u
u.uType = "goodbye"
lisaddlast p.units, u

at the moment i end up with 2 goodbyes if i do this??

or does u have to remain unique for the life of the linked list?