up previous next

Diff

Syntax

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

Summary

returns the difference between two lists

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