> On 27 Aug 2017, at 5:57 am, J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> This would be really useful. I'd suggest:
> 
> filter elements of tArray by tPath[each] is “baz”

Array paths don’t work like that. `each` here is the element and tPath is a 
path within it so it needs to be `each[tPath]` but I like `by`. Infact I 
couldn’t recall the syntax I liked for this when posting the email yesterday 
but now I remember it was `by` as it’s the same as sort.

A simpler example is:

filter lines of tList by item 1 of each >= 10

Cheers

Monte
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to