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
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode