Hi Mike,

I added a little IF THEN clause to avoid doublettes in the ney key, too,
and now it does what I need, thanks again!

> Am 19.08.2017 um 15:12 schrieb Klaus major-k via use-livecode 
> <[email protected]>:
>> 
>> put empty into tArray
>> repeat for each line tLine in tData
>> put item 2 of tLine into tKey
>> if tKey = EMPTY then next repeat
>> put tLine & CR after tArray[tKey]

if lineoffset(tKey,tArray["keylist"]) = 0 then
 put tKey & CR after tArray["keylist"]
end if

>> ## put tKey & cr after tarray['myKeyList']
>> end repeat

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