Hi,
I'm just writing a simple hi score table and found that what I would really like is a way to remove all items from the list over a certain size limit.
I realise that I could just loop through removing the last elements until the lists size was reduced however I got to thinking...
As a list is made of of links, all I should have to do is remove the link at the desired count position in such a way as to slice the list, I can't seem to see a way of doing this although my assumption is that it should be possible and would be nice to divide up lists?
Thank You
I'm just writing a simple hi score table and found that what I would really like is a way to remove all items from the list over a certain size limit.
I realise that I could just loop through removing the last elements until the lists size was reduced however I got to thinking...
As a list is made of of links, all I should have to do is remove the link at the desired count position in such a way as to slice the list, I can't seem to see a way of doing this although my assumption is that it should be possible and would be nice to divide up lists?
Thank You