...then something is wrong somewhere else.
You mention removelist and removelink. Is it possible you're getting your objects and links mixed up?
You mention removelist and removelink. Is it possible you're getting your objects and links mixed up?
Type mytype Field x End Type mylist:Tlist=CreateList() For x = 1 To 10 my:mytype = New mytype my.x = Rand(0,10) ListAddLast mylist,my Next Print CountList(mylist) ListRemove(mylist,my) Print CountList(mylist) RemoveLink(mylist.lastlink()) Print CountList(mylist) mylist.removelast Print CountList(mylist)