LiveCode 8.1 and the Filter enhancements...

Monte Goulding monte at appisle.net
Wed Sep 14 20:10:24 EDT 2016


> On 15 Sep 2016, at 9:21 AM, Richard Gaskin <ambassador at fourthworld.com> wrote:
> 
> Would it be worthwhile considering some form of XQuery for that so we could do ranges and other nifty things?

Hi Richard

I considered adding patterns as array paths (a numerically indexed array of keys) but I don’t think that’s as flexible or readable as the by clause.

Otherwise you would get some kind of horrible syntax like this to do the same thing:
local tPath
put “*” into tPath[1]
put “col2” into tPath[2]
filter elements of tArray with key path tPath matching “some"

Cheers

Monte


More information about the use-livecode mailing list