No, this is unrelated and is an error. A public assignment to a name
that is already privately defined is a domain error. (for your
protection, since the public value would be hidden by the private value)
Henry Rich
On 3/11/2019 2:19 PM, Brian Schott wrote:
I am having a similar curious result that may be related: notice that in
the script loaded first =. is used and then =: is used . I wonder if the
problem is exacerbated by the change from a verb to a noun, also.
loadd'~user/test.ijs'
ideal =. 3{."1 = i. 4
ideal =: 1 0 0
|domain error: scriptd
| ideal =:1 0 0
|[-1] /users/brian/j64-807-user/test.ijs
JVERSION
Engine: j807/j64/darwin
Release-c: commercial/2019-02-24T10:50:40
Library: 8.07.22
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/brian/j64-807
Contact: www.jsoftware.com
On Sat, Mar 9, 2019 at 6:59 PM Roger Hui <rogerhui.can...@gmail.com> wrote:
ASGN is an internal type; in the value part (the ravel) of a scalar with
that type, there is a 0 or 1, indicating whether is local assignment (=.)
or global assignment (=:).
On Sat, Mar 9, 2019 at 2:52 PM Henry Rich <henryhr...@gmail.com> wrote:
Aaaghh, you caught me. That was one of the first changes I made when I
was learning the J Engine. I knew it would print wrong, but I didn't
know how to make it right, and I hoped no one would ever notice.
I guess I have to go back and fix it, but I understand the system better
now, so maybe I can figure out how to do it properly.
Henry Rich
On 3/9/2019 2:05 PM, Joey K Tuttle wrote:
jkt@set1:~$ /usr/local/lib/j64-801/bin/jconsole
JVERSION
Engine: j701/2011-01-10/11:25
Library: 8.01.028
Platform: Linux 64
Installer: j801 install
InstallPath: /usr/local/lib/j64-801
+a=.'huh'
|domain error
| +a=.'huh'
exit 0
jkt@set1:~$ ja
JVERSION
Engine: j807/j64nonavx/linux
Release-c: commercial/2019-02-24T10:44:44
Library: 8.07.22
Platform: Linux 64
Installer: J807 install
InstallPath: /usr/local/lib/j64-807
Contact: www.jsoftware.com
+a=.'huh'
|domain error
| +a=:'huh'
NB. Curious -- why is =. changed to =: for error reports in recent
versions?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm