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?
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?