Monte Goulding wrote: > Actually what you are describing is probably better implemented with > the by clause I have suggested here: > http://quality.livecode.com/show_bug.cgi?id=18309 > > You could then: > > filter elements of tArray by each[“col2”] is “some” > > Or alternatively if you need match “something” and “somewhere” > > filter elements of tArray with “some*” by each[“col2”] > > Or if you need to do something interesting: > > filter elements of tArray by someFunction(each) > > function someFunction pArray > return pArray[“col2”] is “some" > end someFunction
Would it be worthwhile considering some form of XQuery for that so we could do ranges and other nifty things?
-- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ ambassa...@fourthworld.com http://www.FourthWorld.com _______________________________________________ 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