Nils wrote: > Is the code incompatible with J9.4 or am I doing something wrong?
This book was published in 2016. I think it's fairer to say that the code can't be guaranteed to be compatible with j9.4 because FVJ is not part of the J package. However there is a lab: Fractals, Visualization and J -which *is* part of the J package, and worked in jqt 9.4 when I last tried it. jqt > Help > Studio > Labs… > Category: Graphics This may give you a clue as to what needs modifying in the printed book. Ian Clark On Mon, 22 May 2023 at 21:02, Nils Reuße <[email protected]> wrote: > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
