How about this: h=: 13 :'[:>:i.y' h [: [: [: >: i. [: [: [: >: i. 4 |domain error: scriptd | [:[: [:>:i.4
Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brian Schott Sent: Monday, February 9, 2015 10:00 AM To: Programming forum Subject: Re: [Jprogramming] Source of frustration Linda, If you are willing to put parentheses around your example verbs -- with the data outside the parens, you will not get the domain error. On Mon, Feb 9, 2015 at 9:54 AM, Linda Alvord <[email protected]> wrote: > Suppose: ff=: 13 :'>:i.y' > ff > >:@i. > Then: > >:@i.4 > 1 2 3 4 > Which is what you want, more than a domain error. > > Linda > > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
