ind =: $ #: [: i. [:*/$
You can use that array to impose any condition based on the indices which you like.
Fraser ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
