Need to filter out items of list

Magicgate Software - Skip Kimpel skip at magicgate.com
Tue Jun 3 15:02:17 EDT 2014


True... forgot about the "read only" issue.  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.  Using the "repeat for each xxx" method, how would
I obtain the current line position?

Thanks,

SKIP


On Tue, Jun 3, 2014 at 2:41 PM, Klaus major-k <klaus at major-k.de> wrote:

> Hi all,
>
> Am 03.06.2014 um 20:36 schrieb Dar Scott <dsc at swcp.com>:
>
> > I recommend building a new string rather than deleting lines.
>
> and that is even mandatory, because "repeat for each xxx" is "read-only"!
> :-)
>
> > On Jun 3, 2014, at 8:35 AM, Charles E Buchwald <charles at buchwald.ca>
> wrote:
> >
> >> Good Morning Skip,
> >> How about:
> >>
> >> put fld "super large blob of text" into tFieldText
> >> repeat for each line n in tFieldText
> >>      if item 9 of n is empty OR item 15 of n > 0 then delete n
> >> end repeat
> >>
> >> ... not tested. But it seems like maybe you have something else in mind?
> >>
> >> - Charles
> >>
> >> On 03 Jun 2014, at 9:02 AM, Magicgate Software - Skip Kimpel <
> skip at magicgate.com> wrote:
> >>
> >>> Good morning coders,
> >>>
> >>> I have a very, very large field that contains some text from a tab
> >>> delimited dataset.  Row 1 contains the headers.  Here is my dilemma...
> I
> >>> need to filter out lines where item 9=EMPTY or item 15 is greater than
> 0.
> >>>
> >>> Any help or guidance?
> >>>
> >>> Thank you!
> >>>
> >>> SKIP
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list