Thanks,

(2<#) suits me fine
but I still don't understand why (2<$) is not working here.
Why
(2<$) i.10
doesn't have the same rank as
(2<{.@$) i.10
(and how should I know?)

On Sat, Oct 8, 2011 at 2:45 PM, Aai <[email protected]> wrote:

> 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to