Hi all,
I bought Part 1 of Cliff Reiters book "Fractals, Visualization and J, Fourth
edition“ and am trying out the introduction examples.
It first tells me to load an add-on, dwin.ijs [1], and then to create a window,
which works:
load '~addons/graphics/fvj4/dwin.ijs'
_1 _1 1 1 dwin 'hello'
Now, some data is created in p1:
]p1=: |:2 1 o./ 1r4p1*i.5
1 0
0.707107 0.707107
6.12323e_17 1
_0.707107 0.707107
_1 1.22465e_16
And finally, the data is supposed to be drawn with ‚dpoly‘, which fails:
0 255 0 dpoly p1
|psel : command failed: psel
: wd
| (LF,~wd ::(''"_)'qer') (13!:8)3
The book states that the examples were tested with J8.04, I’m on
J9.4.2/j64arm/darwin. There is an official repository containing the code for
the book [2], but it might be out of date anyways.
Is the code incompatible with J9.4 or am I doing something wrong?
- Nils
[1] https://github.com/jsoftware/graphics_fvj4/blob/master/dwin.ijs
[2] https://github.com/jsoftware/graphics_fvj4
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm