I think the issue you are talking about here is the result from (?.)

It would be plausibly nice if ?. had a definition which is
architecture and version independent. But that has not been the case
and probably will not be the case. Already, there's too many variants
out there for broad compatibility.

It might be best to replace (?.) with (?) so that people who
understand the difference are not misled into false expectations.

Thanks,

-- 
Raul

On Wed, May 10, 2023 at 1:59 PM Brian Schott <schott.br...@gmail.com> wrote:
>
> Inspired by the wikipedia links offered below, I sought
> https://en.wikipedia.org/wiki/J_(programming_language) and was quite
> pleased with the description. However, the random list and array examples
> produce different results for me and I suspect those examples need to be
> changed.
>
> Below is an excerpt from my jconsole showing the values I see.
> I would be happy to try to edit the wiki page but I am not registered, so
> it would be better if someone else does so.
>
>    avg=: +/ % #
>    ]v=:  ?. 20 $100
> 94 56 8 6 85 48 66 96 76 59 33 72 63 1 89 52 17 20 9 65
>    avg v
> 50.75
>    4 avg\ v
> 41 38.75 36.75 51.25 73.75 71.5 74.25 66 60 56.75 42.25 56.25 51.25 39.75
> 44.5 24.5 27.75
>    ]m=: ?. 4 5 $50
> 44  6  8  6 35
> 48 16 46 26  9
> 33 22 13  1 39
>  2 17 20  9 15
>    avg"1 m
> 19.8 29 21.6 12.6
>    JVERSION
> Engine: j903/j64/darwin
> Release-b: commercial/2022-01-28T04:11:24
> Library: 9.03.08
> Platform: Darwin 64
> Installer: J903 install
> InstallPath: /users/brian/j903
> Contact: www.jsoftware.com
>
>
> On Wed, May 10, 2023 at 3:10 PM Jose Mario Quintana <
> jose.mario.quint...@gmail.com> wrote:
>
> > > I know of at least A,B,C,D,E,I,J,K,M,Q,R, and S
> >
> > F (programming language) - Wikipedia
> > https://en.wikipedia.org/wiki/F_%28programming_language%29
> >
> > P (programming language) - Wikipedia
> > https://en.wikipedia.org/wiki/P_(programming_language)
> >
> > T (programming language) - Wikipedia
> > https://en.wikipedia.org/wiki/T_(programming_language)
> >
> >
> >
> > --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> 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