Find Item's Line w/offset

Jeanne A. E. DeVoto jeanne at runrev.com
Mon Jan 27 03:52:51 EST 2003


At 1:17 PM -0800 1/24/03, mark mitchell wrote:
>> set the wholeMatches to true
>> put itemOffset(whatToFind,theContainer) into myItemNumber
>> put the number of lines in (item 1 to myItemNumber of theContainer) \
>>    into theItemLine
>
>That's beautiful in its simplicity.  Thanks Jeanne!  For those
>interested in cross-referencing and documentation this might be an
>interesting example.  There is no reference to the above under 'items',
>'itemoffset' , "lines" or "number".

That's because it's not in the docs. (Yet, that is.)

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list