[Jprogramming] Agenda's rank error
EelVex
eelvex at gmail.com
Sun Oct 9 01:24:25 HKT 2011
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 <agroeneveld400 at gmail.com> 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
>
More information about the Programming
mailing list