On 2020-07-19 16:08, David Lambert wrote:
At the end of this sentence I had hoped the global variable A would have
more items.

   A =: A , >:@:([ 3 :'echo A =: A , y')^:4 [ A =: , 0
0 0
0 0 1
0 0 1 2
0 0 1 2 3
   A       NB. The intermediate values we need are gone!
0 4


   A , >:@:([ 3 :'echo A =: A , y')^:4 [ A =: , 0
0 0
0 0 1
0 0 1 2
0 0 1 2 3
0 4
   A
0 0 1 2 3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to