Dave-
Wednesday, September 24, 2014, 1:37:19 AM, you wrote:
> I have no strong opinion on this. The response to your request
> made some sense to me, as it would apply only to certain built-in
> functions that can only return a numeric value. So there would be
> some inconsistency, and also possi
Hi Dave,
Am 23.09.2014 um 22:59 schrieb Dave Cragg :
> On 23 Sep 2014, at 20:07, Klaus major-k wrote:
>
>> Hi Larry,
>>
>> Am 23.09.2014 um 20:53 schrieb
>> :
>>
>>> Hello,
>>>
>>> this line doesn't work:
>>> sort lines of field "myField" by length of each
>>>
>>> Can someone please tell
On 24 Sep 2014, at 04:21, Mark Wieder wrote:
> Dave-
>
> Tuesday, September 23, 2014, 1:59:39 PM, you wrote:
>
>> 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.
>
> See
http://runtime-revolution.278305.n4.nabble.com/sort-lines-by-length-tp4683650p4683683.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, u
Dave-
Tuesday, September 23, 2014, 1:59:39 PM, you wrote:
> 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.
See bug^H^Henhancement request 9910. This has bugged me for some time
On Tue, Sep 23, 2014 at 2:07 PM, Klaus major-k wrote:
> this compiles and kinda works, but not as exspected :-/
> ...
> sort lines of fld 1 by length(each)
>
You want:
sort lines of fld 1 numeric by length(each)
Otherwise a line with length 13 will sort before a line with length 4
___
On 23 Sep 2014, at 20:07, Klaus major-k wrote:
> Hi Larry,
>
> Am 23.09.2014 um 20:53 schrieb
> :
>
>> 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
If you look at the dictionary entry for length you’ll see that it’s a function.
You say either:
sort fld 1 by the length of each
or:
sort fld 1 by length(each)
but not:
sort fld 1 by length of each
___
use-livecode mailing list
use-livecode@lists
Hi Larry,
Am 23.09.2014 um 20:53 schrieb
:
> 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
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?
Thanks!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subsc
10 matches
Mail list logo