On Wed, Sep 22, 2010 at 2:07 PM, John Randall <rand...@andromeda.rutgers.edu> wrote: > I want a full set of boxes in the order 0 1 2.
I would be tempted to do something like this: f=:* data=:_3 1 0 1 _1 0 _10 _2 _4 6 boxem=: 1 :'({. </. {:)@|:@/:~@,.~ u' f boxem data I have assumed that f is atomic, that data is a flat list, and that the initial order of data is irrelevant. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm