Sort: #PB_Sort_DeleteDuplicates

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Sort: #PB_Sort_DeleteDuplicates

Post by IdeasVacuum »

Add an option to delete duplicates
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Sort: #PB_Sort_DeleteDuplicates

Post by DoubleDutch »

+1
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
marcoagpinto
Addict
Addict
Posts: 1045
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: Sort: #PB_Sort_DeleteDuplicates

Post by marcoagpinto »

+1
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Sort: #PB_Sort_DeleteDuplicates

Post by davido »

+1
DE AA EB
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Sort: #PB_Sort_DeleteDuplicates

Post by Demivec »

Sorting determines the order of the data.

Deleting duplicates does not fit in that category and though useful, it doesn't make sense as a sorting option.

-1
User avatar
Roger Hågensen
User
User
Posts: 47
Joined: Wed Mar 25, 2015 1:06 pm
Location: Norway

Re: Sort: #PB_Sort_DeleteDuplicates

Post by Roger Hågensen »

I agree with Demivec, this should be it's own function instead.

Sorting should remain non-destructive. It may change the order but it should never change the data.
4 music albums under CC BY license available for free (any use, even commercial) at Skuldwyrm.no
Post Reply