b=:5 3 5
First, something is very wrong with i . Now look at these. b=:7 3 3 7 8 3 8 7 fdrs=: 13 :'/:~({. , #)/.~y' fdrs [: /:~ ({. , #)/.~ fdrs b 3 3 7 3 8 2 fdrs2=: 13 :'/:~y({. , #)/.y' fdrs2 [: /:~ ({. , #)/.~ fdrs2 b 3 3 7 3 8 2 Either definition has only one argument so isn't the function oblique rather than key? So Ric has taken the "Oblique oad To Success!". One wonders if it is faster than the other one. PS. I can't figure out how and why it works if it is either oblique or key. Linda ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm