On 8/26/17 2:23 PM, Monte Goulding via use-livecode wrote:
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

Another one I would like:

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

Phil Davis


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

--
Phil Davis

_______________________________________________
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