lineoffset Command

Richard Gaskin ambassador at fourthworld.com
Fri Sep 10 23:38:23 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?
>

Add this before your call to lineOffset:

   set the wholeMatches to true


--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list