[Jprogramming] Comparing lists

Raul Miller rauldmiller at gmail.com
Tue Jul 12 21:31:04 HKT 2011


On Tue, Jul 12, 2011 at 6:48 AM, David Vaughan
<purpleblues13 at googlemail.com> wrote:
> What is the best approach to compare the contents of lists? What I want to do is the equivalent of:
>
> if (listA[i]!=listB[i])
>
> In C.

What does this mean?

I think I understand the first line, but I do not understand how to
tie in the second line.

> Also I've been having trouble trying to count nonzero list items.

   +/0 ~: list

-- 
Raul


More information about the Programming mailing list