up previous next
Diff

returns the difference between two lists
Syntax

Diff(L:LIST, M:LIST):LIST


Description
This function returns the list obtained by removing all the elements of M from L.

Example
  L := [1,2,3,2,[2,3]];
  M := [1,2];
  Diff(L, M);
[3, [2, 3]]
-------------------------------


See Also