Thanks!
I have to admit I overlooked /.  . I will carefully go through the entire 
dictionary once more. 
Yeah, the empty slot... I could find a workaround, but a solution that takes it 
into account will still be appreciated.

Ben

> -----Original Message-----
> From: programming-boun...@jsoftware.com [mailto:programming-
> boun...@jsoftware.com] On Behalf Of Stefano Lanzavecchia
> Sent: dinsdag 10 januari 2012 15:52
> To: 'Programming forum'
> Subject: Re: [Jprogramming] Boxes of different lengths
> 
> > > +---+-------+---------++-----+---+
> > > |5 0|7 8 9 2|2 5 5 5 3||8 0 0|5 6|
> > > +---+-------+---------++-----+---+
> > >
> >     a=.0 0 1 1 1 1 2 2 2 2 2 4 4 4 5 5
> >     a=.a,:5 0 7 8 9 2 2 5 5 5 3 8 0 0 5 6
> >     a
> > 0 0 1 1 1 1 2 2 2 2 2 4 4 4 5 5
> > 5 0 7 8 9 2 2 5 5 5 3 8 0 0 5 6
> >    (0{a)</.1{a
> > ----T-------T---------T-----T---┐
> > │5 0│7 8 9 2│2 5 5 5 3│8 0 0│5 6│
> > L---+-------+---------+-----+----
> >
> > http://www.jsoftware.com/help/dictionary/d421.htm
> > Enjoy!
> 
> Almost... I can see now that you'd like an empty slot for the skipped key. I
> was a bit too hasty in my reply.
> --
> Stefano
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to