t = { 13,14,20,21,20,21,27,28 }
i need to scan though the table and have all double entries removed [import]uid: 7911 topic_id: 14495 reply_id: 314495[/import]
do you want code or a pointer?
I’ll give you a pointer for the moment.
- Sort them so you have them all in ascending order
- Iterate through and it the current value is the same as the last value remove that item
easy
cheers,
?
[import]uid: 3826 topic_id: 14495 reply_id: 53735[/import]
thanks i perfer pointers i like to try and figure it out myself [import]uid: 7911 topic_id: 14495 reply_id: 53737[/import]