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-boun...@lists.runrev.com [mailto:use-livecode-
boun...@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
_______________________________________________
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