If you want +: a_t_ 3 to give a result of 6 then you need to write: a_t_ =: 1 : 'u aa' aa_t_ =: 1 : 'u'
+: a_t_ 3 6 On Fri, Mar 31, 2017 at 5:08 AM, Xiao-Yong Jin <[email protected]> wrote: > Does locale change only happens with verbs? > > v_t_=:3 :'vv y' > vv_t_=:3 :'+: y' > v_t_ 3 > 6 > a_t_=:1 :'u aa y' > aa_t_=:1 :'u y' > +: a_t_ 3 > |value error: aa > | u aa y > c_t_=:2 :'u cc v y' > cc_t_=:2 :'u v y' > +: c_t_ *: 3 > |value error: cc > | u cc v y > > This seems to be very inconvenient. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
