Working with csv files that are 5000 lines or more

Jim Schaubeck schaubeck at mac.com
Wed Apr 9 21:12:37 EDT 2008


Brian,
Holy smokes this is much better!!  Not even a second vs 2 minutes.  I've been schooled...much appreciated!

Thank you,
Jim...

 
On Wednesday, April 09, 2008, at 06:04PM, "Brian Yennie" <briany at qldlearning.com> wrote:
>Jim,
>
>Try this revised script with "repeat for each":
>
>on mouseUp
>   set cursor to watch
>   put cd fld "test" into tempvar
>   set the itemDel to tab
>   put 0 into addvar
>   repeat for each line L in (line 2 to -1 of tempvar)
>     if item 15 of L is "FL" then add 1 to addvar--simple test for speed
>   end repeat
>   answer addvar
>end mouseUp
>>
>
>---
>Brian Yennie
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>



More information about the use-livecode mailing list