Search Values of Array in "One Go"
J. Landman Gay
jacque at hyperactivesw.com
Sat Aug 26 15:57:58 EDT 2017
This would be really useful. I'd suggest:
filter elements of tArray by tPath[each] is “baz”
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 26, 2017 1:14:59 AM Monte Goulding via use-livecode
<use-livecode at lists.runrev.com> wrote:
> As a slightly related aside in this conversation I’d still one day like to
> add `each` to filter:
>
> — filter array and retain elements where element[“foo”][“bar”] = “baz"
> put “foo” into tPath[1]
> put “bar” into tPath[2]
> filter elements of tArray by evaluating each[tPath] is “baz”
>
> Cheers
>
> Monte
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list