Filtering one list out of another

Devin Asay devin_asay at byu.edu
Mon Dec 23 17:57:51 EST 2013


Hello LiveCode savants,

I'm pretty sure this can be done, but I've puzzled over this for a while and my brain asplode.

I have two lists of integers:

A B
-- --
1 2
2 5
3 7
4 8
5
6
7
8
9
10

I want to get only the lines in list A that are not in list B:

Result desired:
--------------------
1
3
4
6
9
10

Will filter work for this? I already tried, without much hope of success, 'filter A without B'. As expected, no go.

Any ideas?

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.com




More information about the Use-livecode mailing list