I may have misunderstood the problem, or missed the solution, but doesn't the following do what's required?
cutup=: <.@(* (i. % ])@#) </. ] 4 cutup i. 11 +-----+-----+-----+----+ |0 1 2|3 4 5|6 7 8|9 10| +-----+-----+-----+----+ J.E.H.Shaw [Ewart Shaw] [EMAIL PROTECTED] TEL: +44 2476 523069 Department of Statistics, University of Warwick, Coventry CV4 7AL, UK http://www.warwick.ac.uk/statsdept http://www.ewartshaw.co.uk Will read usenet posts up to the first insult (which may be in the Subject) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
