"names" is a verb defined in the z locale unless you gave it a value. So
you should get a syntax error for (names)=.1 2 .
Gerunds are kind of weird as they are really nouns.
(;:'+-')-:+`-
1
Never thought about trying to use a variable on the left of the gerund
assignment. Took a while to figure out how to do it.
n=.'plus minus'
erase 'plus minus'
1 1
n
plus minus
('`',n)=.+`-
3 plus 4
7
On Sat, Jun 2, 2012 at 2:26 AM, Steven Taylor <[email protected]> wrote:
> '`plus minus' =. +`-
>
> on the r.h.s backtick means gerund. On the l.h.s, backtick looks to be
> optional.
> (names) =. 1 2
> Doesn't seem to be doing anything?
>
> -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