I find that I need to use the expression 1+i.x much more often than I use i.x. Would it make sense to define the primitive i; as the one-origin version of i.?
i. 5 0 1 2 3 4 i; 5 1 2 3 4 5 i. 2 3 0 1 2 3 4 5 i; 2 3 1 2 3 4 5 6 This avoids all the side effects of quad IO in APL but provides a handy way to generate one-based indices. Skip ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
