lineoffset Command
Warren Kuhl
warrenkuhl at gmail.com
Sat Sep 11 19:55:29 EDT 2010
Richard/Hugh,
Thanks for the suggestions. I will give it a try!
Warren
On Sat, Sep 11, 2010 at 1:30 PM, FlexibleLearning <
admin at flexiblelearning.com> wrote:
> Warren Kuhl wrote:
>
> > I am using the lineoffset to search through a large number of lines
> (approx
> > 40,000). My problem is I want to do a search where I return the line #
> if
> > the string is the whole line and not just a subset. Can this be done
> with
> > the lineoffset? If not, what would be my best option for efficiency?
> >
>
> Richard supplied:
> > Add this before your call to lineOffset:
> >
> > set the wholeMatches to true
>
> Alternative:
> get lineOffset(CR&tString&CR,CR&tList&CR)
>
> Can be useful as it explicitly specifies the match typing within the
> syntax.
>
> Hugh
> FLCo
>
> _______________________________________________
> 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