By the way, the problem for me arises because of the way I am appending data
in a loop. Is there a better way to do this rather than , ,:  followed by }.
at the end?

   $ example ''
1 2 3
   example =: 3 : 0
output =. ''
for_i. i. y do.
output =. output , ,: i. 2 3
end.
}. output
)

   $ example 2 NB. what I want...
2 2 3
   $ example 1 NB. Not what I want, I want 2 3
1 2 3

2009/11/9 Matthew Brand <[email protected]>

>    $ }. i. 2 3 4
> 1 3 4
>
> How do I drop the leading axis to make the shape 3 4 ?
>
> Thanks,
> Matthew.
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to