...thanks Slava - another efficiency gain! Lucky I shared this example before I added the sort command - also inside the repeat loop (but no longer)! :-) Best, Keith.. On 21 May 2011, at 16:44, Slava Paperno wrote:
> Does the "filter..." line need to be inside the repeat loop? > > S. > >> -----Original Message----- >> From: [email protected] [mailto:use-livecode- >> [email protected]] On Behalf Of Keith Clarke >> Sent: Saturday, May 21, 2011 8:14 AM >> To: How to use LiveCode >> Subject: Re: Extracting data grid get column data >> >> ...actually, the iterative approach seems fast enough... >> >> put the keys of tArray into tRows >> repeat for each line tRow in tRows >> put return & tArray[tRow]["name"] after tNames >> filter tNames without empty >> end repeat >> >> Best, >> Keith.. >> >> On 21 May 2011, at 11:49, Keith Clarke wrote: >> >>> Hi folks, >>> Is there a direct way of extracting the data from 'cells' within a > specific data >> grid column or is the most efficient (only?) way to iterate through via > the rows, >> extracting array[rowNumber]["column"]["data"] each time? >>> Best, >>> Keith.. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
