RE: http://www.jsoftware.com/help/primer/basic_list_adding.htm

I think it would be nice to poke people's memory with a for_item. based example
instead of just using while. 

Here's the naive version, done with for

addlis =: 4 : 0
r =. ''
for_i. x
do.
  r =. r , (i_index { x) + (i_index { y)
end.
r
)



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to