How to get the difference between two lists?
David Vaughan
dvk at dvkconsult.com.au
Mon Apr 4 02:33:09 EDT 2005
On 04/04/2005, at 16:34, Ken Ray <kray at sonsothunder.com> wrote:
>
> I've got two lists - one with is the "comprehensive" list that is
> return-delimited, like:
> 3
> 5
> 6
<snip>
> And another list which is the list I would like to *remove* from the
> comprehensive list:
> 5
> 6
<snip>
> Which should give me:
> 3
<snip>
>
> Any ideas?
Ken (and all the other ingenious people), you have something against
the "intersect" command?
Convert both lists to arrays and intersect them leaving only the
non-common elements.
cheers
David
>
> Ken Ray
> Sons of Thunder Software
More information about the use-livecode
mailing list