[Jprogramming] 'a b c' =. 1;2;3 unboxes?
Raul Miller
rauldmiller at gmail.com
Fri Jun 1 00:49:32 HKT 2012
The term that the relevant dictionary page uses to distinguish this
case is "indirectly"
http://www.jsoftware.com/help/dictionary/d001.htm
(Note that I am linking the J602 copy of the dictionary page, instead
of the j701 copy because that's what http://www.jsoftware.com/help.htm
links to. This issue does not matter here -- assignment has not
changed -- but I thought it might be worth mentioning.)
FYI,
--
Raul
On Thu, May 31, 2012 at 12:24 PM, Steven Taylor <taylste at gmail.com> 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
More information about the Programming
mailing list