> I am running a much older J and the output is the same :
> #(#~ ((-:~.)*(-:\:~))"1)":,.p:1200+i.10
>1
I am running a much older J and the output is not the same:
#(#~ ((-:~.)*(-:\:~))"1)":,.p:1200+i.10
value error
Here, p: is not a primitive but a "given name", a user-(un)defined
name which would be immutable once defined.
We are in twisty little maze of J versions, all alike. It would really
help me if people would always state the exact J version, OS used,
and platform used. Remember: "not *all* the world is a DEC VAX",
although, in the case above, it is close. It's a DECsystem 5000/240,
running Ultrix-4.4. The J is J Version 5.1 (1992).
The earliest J I can come up with to confirm the results 0 3 1:
J 2.06.04 Copyright (c) 1990-1995, Iverson Software Inc.
on a i386 linux system of a 1994ish slackwarish persuasion with
libm.so.5 => /lib/libm.so.5.0.6
libc.so.5 => /lib/libc.so.5.3.12
FWIW, same results on all J Releases 3.02, 3.03, 4.01c, 4.01d, 4.02a,
4.05d+, j5.01b, j5.04 on that same i386 linux, and on j602a_linux64,
and j806/j32/raspberry from 2017-09-18 on a non-raspberry ARM
evaluation board running Debian 7.11.
I guess that accumulated enough Nerd Points for today.
Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm