How to get the difference between two lists?
Thomas McGrath III
3mcgrath at adelphia.net
Mon Apr 4 09:50:59 EDT 2005
Richard had shared that some time ago and it worked great, the thing is
for some reason (SuperCard, I guess) I have a hard time putting my mind
around repeat for each line tLine and then if tLine - I have used it
but it doesn't always come to mind in trying to figure something out.
Love it though.....
tom
On Apr 3, 2005, at 11:49 PM, Richard Gaskin wrote:
> function ShortList pList, pExcludelist
> repeat for each line tLine in pList
> if tLine is not among the lines of pExcludeList then
> put tLine & cr after tNulist
> end if
> end repeat
> delete last char of tNuList
> return tNuList
> end ShortList
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list