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 <[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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
