(-i.10)<1{.r d
|length error
| (-i.10) <1{.r d
(-i.10)< {.r d
0 0 0 0 0 0 1 1 1 1
(-i.10)< 0{ r d
0 0 0 0 0 0 1 1 1 1
$1{.r d
1
${.r d
$0{r d
R.E. Boss
> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:programming-
> [email protected]] Namens Linda Alvord
> Verzonden: vrijdag 23 december 2011 8:42
> Aan: 'Programming forum'
> Onderwerp: [Jprogramming] Why won;t this work?
>
>
> d=:6 _5 7 3
> r=: 13 :'(<./y),>./y'
> r
> <./ , >./
> r d
> _5 7
> (-i.10)
> 0 _1 _2 _3 _4 _5 _6 _7 _8 _9
> 1{.r d
> _5
> (-i.10)<_5
> 0 0 0 0 0 0 1 1 1 1
>
> (-i.10)<1{.r d
> |length error
> | (-i.10) <1{.r d
>
> (-i.10)<(1{.r d)
> |length error
> | (-i.10) <(1{.r d)
>
> I want something like this, but this is a simple example of what
doesn't
> work.
>
> Linda
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm