Method code for $list.intersection()

[Turn on line numbering]
arg l1, l2;
var i;

// set intersection of the arguments
return filter i in (l1) where (i in l2);

// $#Edited: 09 Dec 97 16:10 $user_scott

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark