to find the first numeric line?

Mike Bonner bonnmike at gmail.com
Fri Feb 1 18:37:45 EST 2013


Nvm. :) won't work in all cases. Back under the rock it is for me!


On Fri, Feb 1, 2013 at 4:32 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> Actually it would be better to check for no matches so..
>
> sort numeric temp
> filter temp without "[1-9]*"
> if temp is not empty then return the number of lines of temp + 1
> return "No Match"
>
>
> On Fri, Feb 1, 2013 at 4:26 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>
>> Could change it to
>>
>> sort numeric temp
>> filter temp without "[1-9]*"
>> return the number of lines of temp + 1
>>
>> thereby killing 2 of the lines.
>>
>>
>



More information about the use-livecode mailing list