There should be a "unique" option on sort . . .

Geoff Canyon gcanyon at gmail.com
Sun Jan 5 17:26:07 EST 2014


   *put* line 1 of tSortedData is false into lastLine

   *repeat* for each line L in tSortedData

      *if* L is lastLine *then* *next* *repeat*

      *put* L & cr after tUniqueData

      *put* L into lastLine

   *end* *repeat*

Either that or some form of Peter's de-dupe and then sort.



More information about the use-livecode mailing list