Sry, I must have been done some typing error. Of course it works for me, too.
Thank you! Kairit > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:programming- > [EMAIL PROTECTED] On Behalf Of Henry Rich > Sent: Sunday, November 26, 2006 1:03 AM > To: 'Programming forum' > Subject: RE: [Jprogramming] operating boxed lists > > Not for me: > > a =: ;: 'he ha ho he hi he' > b =: ~. a > c { each <b i. a > +---+-+-+-+ > |1 3|2|0|0| > +---+-+-+-+ > c { L:0 b i. a > +---+-+-+-+ > |1 3|2|0|0| > +---+-+-+-+ > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Kairit Sirts > > Sent: Saturday, November 25, 2006 5:15 PM > > To: 'Programming forum' > > Subject: RE: [Jprogramming] operating boxed lists > > > > > > It gives the index error with both cases: > > > > c { L:0 b i. a > > |index error > > | c {L:0 b i.a > > > > c { each <b i. a > > |index error > > | c {each<b i.a > > > > Kairit > > > > > > > > Kairit Sirts wrote: > > > > I have a boxed list of strings. For example: > > > > a =: ;: 'he ha ho he hi he' > > > ... > > > > Then I have the boxed list of those strings with > > repetitions removed: > > > > b =: ~. a > > > ... > > > > Then I have another boxed list of integer arrays which > > represents the > > > > indices from the list a. For example: > > > > > > > > +---+-+-+-+ > > > > │1 4│2│3│5│ > > > > +---+-+-+-+ > > > > > > > > Any suggestion, how to do it? > > > > > > If c is your boxed list of integers, use > > > c {L:0 b i. a > > > > > > Or, if you prefer using each > > > c {each <b i. a > > > > > > -- > > > Raul > > > > > > ---------------------------------------------------------------------- > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
