al=: 3 : 0
'a_vec_' al y
:
try.
(x)=:(".x),y
catch.
(x)=:y
end.
)

  'a' al 1 2 3
1 2 3

   al 4 5 6
1 2 3 4 5 6
  a
1 2 3
  a_vec_
1 2 3 4 5 6

I think this to be a bug
a_vec_ should be 4 5 6

This I ran on the Android.

Have not tried anywhere else.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to