> p:^:_1 n and q:^:_1 is */ (example 6 on the power dictionary page)
> don't
> seem to work for me:
> 
> ,----
> |    p:^:_1 10
> | p:^:_1 10
> |    q: 50
> | 2 5 5
> |    q:^:_1 3 5 8
> | q:^:_1 3 5 8
> |    9!:14''
> | j601/2006-11-17/17:05
> `----
> 
> Am I doing something wrong?

Remember that the J interpreter needs some clue to find out where the list
of operands to the ^: ends and the argument to the derived verb begin.

     (p:^:_1) 10

Parentheses will help, or, if I am not wrong, even the good old "]"

      p:^:_1 ] 10

-- 
WildHeart'2k7 - mailto:[EMAIL PROTECTED]
My digipics and blogs: http://wildy2k5.spaces.msn.com/
My Music: http://www.myspace.com/wildy2k7




----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to