Hi Skip, When you define a tacit verb enclose it in parentheses and then make the necessary adjustments.
ts1 =. (+/"1'abc'=/]) NB. pretty clearly a hook but you want fork ts1a=. ([: +/"1'abc'=/]) Hope this helps Cheers, bob > On Sep 13, 2016, at 10:59 PM, Skip Cave <[email protected]> wrote: > > Thanks Bob, Raul, Rob, Pascal, & Henry for your input and help. I still > haven't gotten the hang of how to chain a srting of verbs together without > getting into trouble, but I've found if I keep inserting combinations of > caps, parenthesis, and Ats in random places in the string of verbs, I will > eventually stumble on a workable solution. > > Can anyone define a simple single rule for when you are chaining verbs > together, to know when and where to cap, or parenthesize and use At? > > Skip > > Skip Cave > Cave Consulting LLC > > On Tue, Sep 13, 2016 at 10:18 PM, Henry Rich <[email protected]> wrote: > >> ts3 =: +/@:=~"0 _ >> >> 'abc' ts3 'abcbdefbbcbaa' >> >> 3 5 2 >> >> >> Henry Rich >> >> On 9/13/2016 11:13 PM, 'Pascal Jasmin' via Programming wrote: >> >>> 'abc' ts2 'abcbdefbbcbaa' >>> >> >> ---------------------------------------------------------------------- >> 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
