Hello,
I am trying to see if two lists that I have stored in some locals have the same elements or not. I used
and I was expecting to get an output of 1 because the lists are actually the same. However, I got a 0. Then I tried the following.
I believe that the output should be 1 because the list is equivalent if the order of the elements doesn't matter, but the output I am getting is 0. Can you please help me with this?
Thank you.
I am trying to see if two lists that I have stored in some locals have the same elements or not. I used
Code:
levelsof iso_o, local(a) clean levelsof iso_d, local(b) clean local x: list a === b di `x'
Code:
local p "b" "a" "c" local q "a" "b" "c" local r: list p === q di `r'
Thank you.
Comment