The right argument to clear is the locale, default base. It looks like you are in the z locale, so
clear'' NB. clear in base (4!:55) (4!:1) 0 1 NB. clear in z On Sat, Apr 25, 2020 at 7:14 AM Brian Schott <[email protected]> wrote: > > Am I using clear'' wrong? > I does not seem to work, but when I manually use (4!:55) and (4!:1) I get > the desired result. See my demonstration below. > > > $AA > 77 > clear'' > > $AA > 77 > clear > 3 : '". ''do_'',('' ''-.~y),''_ '''' (#~ -.@(4!:55)) (4!:1) 0 1 2 3''''''' > (4!:55) (4!:1) 0 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ... > $AA > $ AA > JVERSION > Engine: j807/j64/darwin > Release-c: commercial/2019-02-24T10:50:40 > Library: 8.07.26 > Qt IDE: 1.7.9/5.9.7 > Platform: Darwin 64 > Installer: J807 install > InstallPath: /users/brian/j64-807 > Contact: www.jsoftware.com > > -- > (B=) <-----my sig > Brian Schott > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
