Also it works inline, e.g.

-.&' ' &. ": 12 3 4 67 09 0 9
but not in a definition, i.e.

ijoin =: ;@cut &. ":

works, but

ijoin =: (-.&'') &. ":

does not.


On 9 September 2013 03:14, Dan Bron <[email protected]> wrote:

> Try -.&' ' in place of ;@cut
>
> -Dan
>
> Please excuse typos; composed on a handheld device.
>
> On Sep 8, 2013, at 10:07 PM, Alex Giannakopoulos <[email protected]>
> wrote:
>
> > Hi - I need to join up a list of integers (presented as a rank-1 array)
> > into a single number.
> >
> > At the moment I am using the following,
> >
> > ;@ cut &. ":
> > which works, but I wonder if there is something better, not using the
> > supplied 'cut' verb, which seems like overkill.
> >
> > Any suggestions hints pointers gratefully accepted.
> > ----------------------------------------------------------------------
> > 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