Question: check equal lists

Hi,

is it enough to check wether two lists are equal using "is(a=b)"?

a:=[1,2,3,1,5];b:=[1,2,3,5,4];c:=[1,2,3,1,5];

is(a=b);
    false

is(a=c);
    true

 

the results seem fine. Do I have to check each element? I just want to be sure of it.

 

Thanks.

 

casper

 

Please Wait...