Filtering one list out of another
m.schonewille at economy-x-talk.com
Mon Dec 23 18:08:37 EST 2013
Filter, intersect and union won't work for this. I have never understood
why there isn't something like a negative intersect, e.g. an exclude
I think you will have to use repeat for each.
Economy-x-Talk Consulting and Software Engineering
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
Fill out this survey please
On 12/23/2013 23:57, Devin Asay wrote:
> 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
> I want to get only the lines in list A that are not in list B:
> Result desired:
> Will filter work for this? I already tried, without much hope of success, 'filter A without B'. As expected, no go.
> Any ideas?
More information about the Use-livecode