On Mon, Sep 19, 2022 at 11:15 AM Richard Donovan <rsdono...@hotmail.com> wrote: > viewmat((1>+/~@:(4^~(%~i:)))*.1<+/~@:(2^~(%~i:)))666 > NB. no output > > $viewmat((1>+/~@:(4^~(%~i:)))*.1<+/~@:(2^~(%~i:)))666 > 0 0
This is probably more a topic for the general forum than the programming forum, but viewmat also produces a shape 0 0 result in jqt. (In jplayground, it produces a shape 1 result which is a single space..) In the jqt viewmat, it pops up a new window with the image. In the jplayground viewmat, it produces an inline image (JHS viewmat would be similar to jplayground's viewmat). On my iphone, running j701, the above expression presented the viewmat image at the top of the phone (or an expression close to the above -- I hand entered the line, and used @ instead of @: which should produce an equivalent result here, but the point is that I may have inadvertently changed something else...). To be sure that a viewmat image consistently appears, I copied the line into the edit window and ran it from there -- when I did so, the edit window was hidden (icon at bottom of region changed from E to J) and the session window and the image window appeared. So... whatever the problem is, it might depend on the version of J you are running and/or the version of ios that you are running? I hope this helps, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm