"lineAtOffset"?

Bob Sneidar bobsneidar at iotecdigital.com
Thu Oct 29 13:33:31 EDT 2015


You know what would be really useful for this is the old Hypercard indexing engine! ;-)

Seriously though, splitting to an array does not help as there is currently no way to search the elements of an array. Since repeat for each line does a kind of line indexing in memory, it should be much faster if you check for each thing being searched for in a single pass.

Bob S


On Oct 29, 2015, at 10:28 , Richard Gaskin <ambassador at fourthworld.com<mailto:ambassador at fourthworld.com>> wrote:

On 29/10/2015 15:47, Richard Gaskin wrote:

Like "lineOffset", "lineAtOffset" would take the same arguments and
operate similarly, but rather than returning the number of the matching
line it would return the text of that line.





More information about the use-livecode mailing list