to find the first numeric line?

Bert Shuler bertshuler at yahoo.com
Thu Jan 31 14:07:24 EST 2013


I just loop through.

Any better ideas?

Tiemo, does this represent the problem?

https://dl.dropbox.com/u/22617779/Sort.livecode



On Jan 31, 2013, at 10:53 AM, Tiemo Hollmann TB <toolbook at kestner.de> wrote:

> Hello,
> 
> I have a list with alphanumeric and numeric content. After sorting numeric I
> would like to find the first line with a numeric first char. (the non
> numeric lines before can contain also numeric chars). I would like to have a
> kind of lineoffset(isNumber(first char.),list,), but that's not prebuilt.
> 
> What would be the fastest or most straight forward way to look up such a
> list? Just looping through? Testing the first char every half of the list in
> a loop? Or is there a function I don't think of?
> 
> Thanks for any pointers
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list