Ah, OK, now I got it! (": 23 45 6) -. ' '
23456 It wasn't working because I used the empty string '' instead of the blank string ' '. Doh! On 9 September 2013 03:31, bob therriault <bobtherria...@mac.com> wrote: > Well Dan usually comes up with the really insightful answers, but what I > see happening is that & is forcing the ' ' as the right argument. When you > supply your right argument it moves to the left side of -. and then the ' ' > (empty spaces) are removed. > > Hope this helps, bob > > On 2013-09-08, at 7:27 PM, Alex Giannakopoulos wrote: > > > Great, thanks very much! > > How does that parse, though? I don't follow. > > I see a "hook"? of (NOT bond) and <empty-string>, although it's > obviously > > not a hook since '' is not a verb. > > What am I missing? > > > > > > > > On 9 September 2013 03:14, Dan Bron <j...@bron.us> 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 < > aeg...@blueyonder.co.uk> > >> 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 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm