Maybe a two-part array?

Myarray[1,tk]

You can control the first part of the array, keeping it in order, and thus not 
depend on how LC orders the tK part of the array.

Sent from my iPhone

> On Aug 19, 2017, at 7:33 AM, Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi dfriends,
> 
> need a little help, I am filling an array (to eliminate doublettes)
> and really need to keep the order of the keys as they came in.
> 
> Example:
> ...
> put "60,30,40" into tK
> repeat for each item tItem in tK
> put "sdsdsdsddsd" into tArray[tItem]
> end repeat
> put the keys of tArray
> ...
> Now I would like to get:
> 60
> 30
> 40
> 
> This is just an example, I cannot control the content of tK.
> Know what I mean?
> 
> Any hints very welcome, thank you!
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
> 
> 
> _______________________________________________
> 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