can use instead assign =: 4 : '(x) =: y'
'a' assign 2 you might like: assignwith 1 : 0 y assign u (y~ [ ]) :: ((i.0)"1) 1 : y assign x u (y~ [ ]) :: ((i.0)"1) 1 ) 5 +&^. assignwith 'a' 2.30259 a 2.30259 a =: @ ^. 5 |syntax error syntax error because adverb noun is not allowed, and that is parsed as (@^.) 5 ----- Original Message ----- From: Sergey Kamenev <[email protected]> To: [email protected] Cc: Sent: Wednesday, November 19, 2014 5:03 PM Subject: [Jprogramming] What's wrong with assigment? a=:2 (a &+)\ 1 2 3 3 0 0 3 4 0 3 4 5 *(a & =:)\ 1 2 3* |syntax error | (a&=:)\1 2 3 *Why error?* Even more simple example a + & ^. 5 2.30259 a =: & ^. 5 |syntax error | a=: &^.5 *Why compose don't support assigment?* Sergey P.S. a =: @ ^. 5 |syntax error | a=: @^.5 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
