RemoveLink

BlitzMax Forums/BlitzMax Beginners Area/RemoveLink

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.

If I create a list of Objects.
and I want to remove one I can do ListRemove Tlist,Object.
The Manual says RemoveLink is much faster but I can't get it to work. Does someone have a short code snipet that shows Removelink.

What I am doing is Creating two lists...An Active list and an InActive List. When an Object goes inactive I move it to that list by ListAddLast InActive,Object and then ListRemove Tlist,Object. I figure that when my lists get longer I want the best way to Remove the item from the list.

Thanks for any help,
Eric