Also Linda, think of “r” notation just like “e” notation … 1 2e3 4e5 6 7 1 2000 400000 6 7
1 2r3 4r5 6 7 1 2r3 4r5 6 7 > On 6 Apr 2019, at 10:32 am, 'robert therriault' via Programming > <programm...@jsoftware.com> wrote: > > Hi Linda, > > a=:1 1 2 3 5r1 2 3 5 8 NB. 5r1 is just 5, so really this is just creates > a list, as r is not a verb > a > 1 1 2 3 5 2 3 5 8 > 1 1 2 3 5 ([: x: %) 1 2 3 4 8 NB. I would normally write 1 1 2 3 5 x: @: % > 1 2 3 4 8 , but I know you prefer [: > 1 1r2 2r3 3r4 5r8 NB. ([: x: %) is a verb that works the way you expect > > Hope this helps. > > Cheers, bob > > >> On Apr 6, 2019, at 3:25 AM, Linda Alvord <lindaalvor...@outlook.com> wrote: >> >> a=:1 1 2 3 5r1 2 3 5 8 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm