Bonjour Eric, mon ami,

Bonjour Klaus,

In my compare scripts plugin, I use the following function that might get you started :-)

function UnCommonList plist1,plist2 -- returns lines of pList1 not found in pList2
 local tArray1,tArray2,tUncommonList
 ------
 put empty into tArray1
 put empty into tArray2
 -----
 repeat for each line tLine in plist1
   put 1 into tArray1[tLine]
 end repeat
 -----
 repeat for each line tLine in plist2
   put 1 into tArray2[tLine]
 end repeat
 -----
 get the keys of tArray1
 repeat for each line tLine in it
   if tArray2[tLine] = 0 then put tLine & cr after tUncommonList
 end repeat
 -----
 delete char -1 of tUncommonList
 return tUncommonList
end UnCommonList

an interesting approach, will take a closer look :-)
Merci bien!

Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to