next repeat problem

Troy Rollins troy at rpsystems.net
Tue Aug 17 20:08:14 EDT 2004


On Aug 17, 2004, at 8:01 PM, David Vaughan wrote:

> Please go back to the sample code sent to you by Klaus. "Repeat for 
> each" does not allow you to manipulate the lines of data in your 
> source file. By trying to delete something to which it thinks it is 
> pointing, you are confusing it, hence the error. When changing data 
> using "Repeat for each" always move the lines you want, modified as 
> you please, to a new container. As Klaus shows, this simply involves 
> copying non-empty lines and is damn fast.

True, but for that sort of function, "filter" is just amazing. No 
copying, no repeat loop.

In the end, either one works great.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net



More information about the use-livecode mailing list