Hi all,

> Am 07.12.2015 um 17:47 schrieb [email protected]:
> 
> Hi. The dictionary explicitly says "lines" or "items". I don't think it will 
> sort words at all. Even if you:
> sort it descending numeric
> It will not throw an error, but it also will not sort.

yep, so why not use ITEMS?
…
get "4 6 2 8 5“
set itemdel to SPACE
sort items of it ascending numeric
…

:-)

> Craig Newman
> 
> From: jbv <[email protected]>
> To: How to use LiveCode <[email protected]>
> Sent: Mon, Dec 7, 2015 11:31 am
> Subject: sorting words ?
> 
> Hi list
> Just a quick question; the following returns a compilation error :
>   get "4 6 2 8 5"
>   sort words of it ascending numeric
> 
> Is it because the sort function doesn't apply to words, or am I missing
> something ?
> 
> Thanks

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

Reply via email to