There is no x in v1, though... And you're asking us to understand code that you have not included nor specified. So it's difficult to make any specific and relevant suggestions.
That said, if you're trying to understand order-of-operations, you can use echo to show that. It might be even better to get a version of your code working using explicit control structures before you go there. Take care, -- Raul On Sat, Dec 5, 2020 at 1:58 PM Raoul Schorer <raoul.scho...@gmail.com> wrote: > > Hi, > > I have a verb such as: > > v1 =: {{)m > a=.L.y > b=.2^1-~a > c=. (<y)(<0 0 0)}<"0[0$~a,b,4 > d=.2&^i.a > e=.a$0 > ...complicated verb... > }} > > where in complicated verb, I am supposed to have a nested iteration on i.a > then i.d and mutate y from v1 on each iteration. > I have tried to emulate a nested loop with {{ x ] F.. {{ x ] F.. + y }} y > }} but I cannot understand the order of execution. > > Also, is there a way to reference x from v1 in the nested loop to mutate it? > > Perhaps nested loops would be the preferred way here? > > Thanks! > Raoul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm