pps=:9!:11   NB. set print precision
   pps 20

It works flawlessly.

John Baker <bakerj...@gmail.com> ezt írta (időpont: 2023. márc. 8., Sze,
23:56):

> Duh!
>
> Human operator error!
>
> Must RRTFM - reread the … manual.
>
> Thanks
>
>
>
> analyzethedatanotthedrivel.org
>
> > On Mar 8, 2023, at 13:49, 'robert therriault' via Programming <
> programm...@jsoftware.com> wrote:
> >
> > Hey John,
> >
> > When I tried this I got
> >
> >   9!:12 ''
> >
> > 5
> >
> > which confused me. Then I realized that the print precision pair is
> 9!:10 and 9!:11
> >
> > 9!:12 give you the OS type. (I had checked all the way back to j902
> before I figured this out!)
> >
> > Cheers, bob
> >
> >> On Mar 8, 2023, at 12:39, John Baker <bakerj...@gmail.com> wrote:
> >>
> >> I just noticed this today. It seems the print precision setting no
> >> longer works in later versions of J.
> >>
> >> You can query the setting (9!:12 '') and it returns 6 but you cannot
> >> change it (9!:11) 10 - still returns 6.
> >>
> >> When did print precision go away and what's the recommended substitute.
> >>
> >> --
> >> John D. Baker
> >> bakerj...@gmail.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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to