In terms of syntax, the only difference between WORDS=: 'word1 word2' (WORDS)=: 1 2
and 'word1 word2'=: 1 2 is that the parser has to go through some extra steps in the first case, before it gets to the assignment operation. -- Raul On Thu, May 31, 2012 at 4:55 PM, Henry Rich <henryhr...@nc.rr.com> wrote: > I don't know that it has an official name. I called it multiple > assignment in JfC. > > We have also the multiple AR assignment > > '`plus minus' =. +`- > > and the indirect assignment > > names =. ;: 'one two' > (names) =. 1 2 > > Henry Rich > > On 5/31/2012 12:24 PM, Steven Taylor wrote: >> Hi, >> >> just looking for a definition of this quoted variable assignment behaviour >> that I leaned about on this forum. What's it called in J parlance? >> >> 'a b c' =. 1;2;3 >> >> 'a2 b2 c2' =. 1 2 3 >> >> Also, it looks like we get an unbox for free >> >> (a2=a),(b2=b),(c2=c) >> 1 1 1 >> >> thanks, >> -Steven >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm