I believe that i. stops at the first match. So this should work.

   ({.~0 i.~])4 3 2 8 0 9 1
4 3 2 8

Yes. But in my case I finding result of function.
And your decision requires to apply function to all elements source array.

Sergey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to