a=: i.5 a 0 1 2 3 4 a=: 100 (2}) a a 0 1 100 3 4
On Mon, Sep 8, 2014 at 7:18 AM, Sebastian <seb_fo...@arcor.de> wrote: > Hi, > > What is actually the best practice to replace one item of a list? > > The only way I know feels a bit complicated: > > a =: i. 5 > 0 1 2 3 4 > > > > (2 {. a), 100, (3 }. a) > > 0 1 100 3 4 > > > > Best regards, > > Sebastian > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm