I guess adverbs have only the left argument, no right argument.
Therefore, if there is u or m, then both x and y are legal and
denote the argument of the resultant. otherwise (neither u and m
present), then x become the left argument, but y cannot. 

in a clean session, it will raise the same error if
args=: 1 : 'v'
+ arg

if assign v some value, such as
v=: *
then + arg  will be ok.

compare also the followings

args=: 1 : 'u'
args=: 1 : 'm'
args=: 1 : 'n'
args=: 1 : 'x'
args=: 1 : 'y'

On the contrary, conjunctions can take both x and y as arguments.


Вск, 08 Апр 2012, Paul Jackson писал(а):
> Indeed, I called it a bug because of the confused name meanings.  I don't
> believe arguments should change their value based on the sequence in which
> I use them.
> 
> Please note, user conjunctions don't appear to suffer from the problem.
> 
> Args=: 2 : 0
>  y 1!:3 [2
>  u y
> :
>  x 1!:3 [2
>  y 1!:3 [2
>  x v y
> )
> 
>   - Args + 10
> 10
> _10
> 
> 20 - Args + 10
> 20
> 10
> 30
> 
> Paul
> On Apr 8, 2012 8:54 AM, "Raul Miller" <rauldmil...@gmail.com> wrote:
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to