The first response about the items being characters is probably correct in
this case. Instead of
> 1 {"1 data
, you may want to try something like
". &> 1 {"1 data
but be aware that an empty cell will give you a column of output in this
case as well.
For example,
". &> '0';'2';'123'
0 2 123
but
". &> '0';'';'123'
0
0
123
On Mon, Oct 4, 2021 at 4:08 AM Raul Miller <[email protected]> wrote:
> Alternatively, looking at the result of $L:0 on your boxed data can be
> informative. (And, if it's deeply boxed, $L:1, $L:2, ...)
>
> Boxing adds complexity to your data structures, so it's best to avoid
> unnecessary boxing. But sometimes boxing is necessary...
>
> Good luck,
>
> --
> Raul
>
> On Mon, Oct 4, 2021 at 12:36 AM ethiejiesa via Programming
> <[email protected]> wrote:
> >
> >
> > "John Dell'Aquila" <[email protected]> wrote:
> > > Hi all,
> > >
> > > I just discovered J a few months ago and have decided to take it up
> seriously. I wish I'd found it 20 years ago. You folks keep a seriously low
> profile on the internet :-)
> >
> > Welcome John! The low profile here is definitely counterbalanced by the
> density
> > of quality in the forums :)
> >
> > > Can someone explain what I'm missing here?
> >
> > Good question. This is a checkpoint we all seem to encounter when first
> coming
> > to array languages.
> >
> > Let me play Socrates here and ask you a question in return, what is the
> > difference between (1) and (1$1)?
> > ----------------------------------------------------------------------
> > 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