There should be a "unique" option on sort . . .
Dr. Hawkins
dochawk at gmail.com
Sun Jan 5 20:37:34 EST 2014
On Sun, Jan 5, 2014 at 9:36 AM, <dunbarx at aol.com> wrote:
> Did you mean something like this, for sorted data:
>
> repeat with i = the number of lines of stuff down to 1
> if line i of stuff = line (i-1) of stuff then delete line i of stuff
> next repeat
>
Yes. I use the extra variables to stop the extra searches of stuff.
In Fortran or C, I'd just assume that the multiple references would be
caught by the compiler optimizer, but I don't thinkLiveCode is
even looking at such things . . .
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
More information about the use-livecode
mailing list