Look at the result of e.g.
     (2<$) i.2 3 3
0 1 1

and agenda @. uses the result of verb v in m @. v to select one of gerund m

You probably want something like one of the following:

    (2<{.@$) i.10
1

    (2<#@$) i.10
0

or use #

    (2<#) i.10
1


    1:`2:@.(2<{.@$) i.10
2

      1:`2:@.(2<#@$) i.10
1

  1:`2:@.(2<#) i.10
2




Hallo EelVex, je schreef op 08-10-11 12:35:
> Hi all.
>
> Why does this:
>
>     1:`2: @. (2<$) i.10
>
> give a rank error?
> ----------------------------------------------------------------------
> For information about J forums seehttp://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to