You misunderstood Raul, the second line is simply "in C" the programming language. I just meant I wanted the first line's equivalent in J.
___________________________ David Vaughan On 12 Jul 2011, at 14:31, Raul Miller <[email protected]> wrote: > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
