That is the error you get if "iter" is not defined, so you probably didn't run the first line.
On Sun, Jul 31, 2022 at 4:24 AM Razetime <rraghu.11...@gmail.com> wrote: > > On this rosetta code page for the Hilbert Curve > <https://rosettacode.org/wiki/Hilbert_curve#J>, I tried running the code, > but I get an error: > > iter=: (, 1 , +@|.) @: (,~ 0j_1 ,~ 0j_1*|.) > > hilbert=: {{0j1+(%{:) +/\0,iter ^: y ''}} > > require 'plot' > > plot hilbert 5 > > |value error: iter > > | 0j1+(%{:)+/\0, iter^:y'' > > plot hilbert 5 > > > I am running this on J903, not J902, but i don't see why it isn't running. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm