Filter an array by content

Dar Scott Consulting dsc at
Thu Jun 20 18:12:15 EDT 2019

If LiveCode 9.5 is not applicable (since it is not released), then...

If those numbers are codes taken from some small universe of codes, then maybe intersect will work:
intersect affectedZipCodes with TreatedZipCodes into inspectionZipCodes

But if you can go with 9.5, then maybe "where" will work:
filter elements of testDistance where each > 20.5 into failedDistance

> On Jun 20, 2019, at 2:56 PM, J. Landman Gay via use-livecode <use-livecode at> wrote:
> I need to filter a numeric array by the content of the keys, not by the keys themselves. Is there a way to do that without looping through the entire array and looking at each element?
> -- 
> Jacqueline Landman Gay         |     jacque at
> HyperActive Software           |
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list