You're right, Geoff. Apparently, not as easy as I thought, but that makes it more interesting.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 5/10/2015 01:57, Geoff Canyon wrote:
On Sat, May 9, 2015 at 6:34 PM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

function problem4
      put "50,2,1,9" into myList
      sort items of myList numeric descending by char 1 of each
      replace comma with empty in myList
      return myList
end problem4


Doesn't work on several inputs, here's one:
642,6,4,3 -- returns 642643, should return 664243
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to