Need to filter out items of list

Magicgate Software - Skip Kimpel skip at
Tue Jun 3 15:23:56 EDT 2014

Yep, just tried it and the counter slowed down the process in a VERY
noticeable way.  I will have to evaluate if it is worth it or not.


On Tue, Jun 3, 2014 at 3:17 PM, J. Landman Gay <jacque at>

> On 6/3/2014, 2:02 PM, Magicgate Software - Skip Kimpel wrote:
>> Given that I have about
>> 150,000 rows of data to process I am going to need to create some type of
>> progress bar or counter.
> Try it first without one, you might be surprised. The "repeat for each"
> construct is very fast.
> One time I added a progress bar out of habit because I had so many lines
> to process. It took about 15 seconds to go through the whole loop. When I
> removed the progress bar, the loop completed in two or three seconds. It
> turned out that updating the progress bar took more time than the entire
> rest of the loop.
> So see if the progress bar is really worth the overhead. If it's just a
> little slow, consider setting the cursor to a watch instead so the user
> knows something is happening. That has no overhead. Or if you do need a
> progress bar, only update it every 10th or 50th iteration or so.
> --
> Jacqueline Landman Gay         |     jacque at
> HyperActive Software           |
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list