Hi Dave, Am 23.09.2014 um 22:59 schrieb Dave Cragg <[email protected]>:
> On 23 Sep 2014, at 20:07, Klaus major-k <[email protected]> wrote: > >> Hi Larry, >> >> Am 23.09.2014 um 20:53 schrieb <[email protected]> >> <[email protected]>: >> >>> Hello, >>> >>> this line doesn't work: >>> sort lines of field "myField" by length of each >>> >>> Can someone please tell me the code for sorting a field by length of line? >> >> this compiles and kinda works, but not as exspected :-/ >> ... >> sort lines of fld 1 by length(each) >> ... > > sort lines of fld 1 numeric by length(each) > I think "numeric" is needed if the lengths can be over 9 characters. > Otherwise it will do a text sort on the lengths. oh, well, thanks a lot! :-) > Cheers > Dave Best Klaus -- Klaus Major http://www.major-k.de [email protected] _______________________________________________ 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
