Hi all,

anyone knows the quickest ways to compare 2 CR delimited lists?
I need to know what lines of list 1 are contained in list 2.

Right now I am using repeat "for each" and "lineoffset", which is fast,
but I'm ure this can be done even faster :-)

List 1 = k1
List 2 = k2

...
  repeat for each line i in k1
    if lineoffset(i,k2) <> 0 then
      put i & CR after new_ list
    end if
  end repeat
delete char -1 of new_ list
return new_ list
...


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