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

Reply via email to