lineoffset Command

FlexibleLearning admin at FlexibleLearning.com
Sat Sep 11 14:30:29 EDT 2010


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




More information about the Use-livecode mailing list