to find the first numeric line?

Jim Lambert jiml at netrin.com
Fri Feb 1 18:21:50 EST 2013


Forgot to add 1. 
So make that:

function getNumericLineStarts temp
    put the number of lines of temp into totalLines
   sort numeric temp
   filter temp with "[1-9]*"
   put the number of lines of temp into totalLinesNumericStart
   return totalLines-totalLinesNumericStart + 1
end getNumericLineStarts

Jim Lambert


More information about the use-livecode mailing list