Extracting data grid get column data

Jim Ault jimaultwins at yahoo.com
Sat May 21 12:17:06 EDT 2011


Logically it would make sense, but the reality is that 'filter' is  
lightning fast so you would not likely be able to measure any speed  
difference.  Of course, very large data sets need to be measured, but  
then DataGrid would be the far slower part of the process.


On May 21, 2011, at 8:44 AM, Slava Paperno wrote:

> Does the "filter..." line need to be inside the repeat loop?
>
> S.
>
>> -----Original Message-----
>> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
>> bounces at lists.runrev.com] 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
>>

Jim Ault
Las Vegas






More information about the use-livecode mailing list