[Jprogramming] What's happening here?

Linda Alvord lindaalvord36 at outlook.com
Wed Aug 1 03:22:51 UTC 2018


(+/"1)2+\i.5
1 3 5 7

Linda

Get Outlook for Android<https://aka.ms/ghei36>



From: neitzel at gaertner.de
Sent: Tuesday, July 31, 3:35 PM
Subject: Re: [Jprogramming] What's happening here?
To: programming at jsoftware.com


> 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 https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffd.xuwubk.eu.org%3A443%2Fhttp%2Fwww.jsoftware.com%2Fforums.htm&data=02%7C01%7C%7Ce1604c27471c4158d62b08d5f71cd050%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636686625479080927&sdata=b2oieHvDjWIZ%2ByITTwgp9N6C50tTz0gc5ro6FkcjvzM%3D&reserved=0



More information about the Programming mailing list