Find Item's Line w/offset

mark mitchell cowhead at mac.com
Thu Jan 23 15:28:01 EST 2003


I want to find an item in a container, but only whole matches.  Then I 
want to delete the LINE which contains that item.  So I need that line 
number information.  I know you can get this with the FoundLine, but is 
there any way to get it using offset?  Since I need whole matches to an 
item, I cannot use 'lineOffset' but must use 'itemOffset'.  So is there 
anyway to convert from item number to a line number of a container?  I 
wanted to use 'offset' instead of 'find' because I read somewhere that 
offset is much faster, but maybe that is irrelevant at todays processor 
speeds.  Still, would like to know if it is possible.  Thanks.

mark mitchell
Japan




More information about the use-livecode mailing list