On Tue, Jul 12, 2011 at 6:48 AM, David Vaughan
<[email protected]> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to