It looks like this gives the same result as the expression Bob proposed:
   "."0@": each 40 5 9008 90


On Thu, Mar 30, 2023 at 3:12 PM 'robert therriault' via Programming <
programm...@jsoftware.com> wrote:

> Looking at the issue a bit deeper I don't think that the second ".@": is
> required.
>
>     "."0@": each 40 5 9008 90
> ┌───┬─┬───────┬───┐
> │4 0│5│9 0 0 8│9 0│
> └───┴─┴───────┴───┘
>
> Cheers, bob
>
> > On Mar 30, 2023, at 12:08, 'robert therriault' via Programming <
> programm...@jsoftware.com> wrote:
> >
> > I think it is missing the @ that ties the whole process together with
> the each. Without that @ the boxed result of each is formatted with ": and
> that does not make sense to ". creating a 'spelling error'
> >
> >    ".@": "."0@": each 40 5 9008 90
> > |spelling error
> > |
> > |   ^
> > |       ".@":"."0@":each 40 5 9008 90
> >   ".@":@ "."0@": each 40 5 9008 90
> > ┌───┬─┬───────┬───┐
> > │4 0│5│9 0 0 8│9 0│
> > └───┴─┴───────┴───┘
> >
> > Cheers, bob
> >
> >> On Mar 30, 2023, at 12:04, Devon McCormick <devon...@gmail.com> wrote:
> >>
> >> This is what I see on J 9.41:
> >>
> >>  ".@": "."0@": each 40 5 9008 90
> >> |length error, executing dyad |
> >> |shapes 4 and 2 do not conform
> >> |   |4 0|5|9 0 0 8    |9 0|
> >>
> >> It oddly seems to be trying to execute the separators.
> >>
> >>
> >> On Thu, Mar 30, 2023 at 1:06 PM Henry Rich <henryhr...@gmail.com>
> wrote:
> >>
> >>> My guess is you pasted in a nonbreaking space.  The caret points to the
> >>> error.
> >>>
> >>> Wouldn't you like release 9.4, which would give more error information?
> >>>
> >>> Henry Rich
> >>>
> >>> On 3/30/2023 12:54 PM, Richard Donovan wrote:
> >>>> JVERSION
> >>>> Engine: j902/j64avx2/windows
> >>>> Release-a: commercial/2020-12-05T13:36:01
> >>>> Library: 9.02.08
> >>>> Qt IDE: 1.9.2s/5.12.10(5.12.10)
> >>>> Platform: Win 64
> >>>> Installer: J902 install
> >>>> InstallPath: c:/program files/j902
> >>>>
> >>>>   ".@": "."0@": each 40 5 9008 90
> >>>> |spelling error
> >>>> |
> >>>> | ^
> >>>> | ".@":"."0@":each 40 5 9008 90
> >>>>
> >>>>
> >>>> (NB. required output 4 0 5 9 0 0 8 9 0)
> >>>>
> >>>> The boxed question marks actually appear as an assortment of left, up,
> >>> and down arrows.
> >>>>
> >>>> This is reproducible.
> >>>>
> >>>> I need a list of all the digits in y, concatenated as shown, with
> zeros
> >>> retained
> >>>>
> >>>> Thanks for any help
> >>>>
> >>>> Richard
> >>>>
> >>>> ----------------------------------------------------------------------
> >>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>>
> >>> ----------------------------------------------------------------------
> >>> For information about J forums see http://www.jsoftware.com/forums.htm
> >>>
> >>
> >>
> >> --
> >>
> >> Devon McCormick, CFA
> >>
> >> Quantitative Consultant
> >> ----------------------------------------------------------------------
> >> 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
>


-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to