On Mon, Jul 11, 2011 at 12:44 PM, mijj <[email protected]> wrote:
> how many times would the verb [v] be invoked in the following:
>
> v^:(1 2)
>
> would it be:
>    once for the [1], and then twice for the [2].
>    = 3 in total

Yes.

   count=: 0
   3 :'count=:count+1'^:2 3 ''
2 3
   count
3

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

Reply via email to