> Roger wrote:
> 
> It is a different way to achieve  3#"0]0 1 .  Using > avoids juxtaposing
the 0 and 0 1.
> 
> 
> 
> ----- Original Message -----
> From: Graham Parkhouse <[EMAIL PROTECTED]>
> Date: Thursday, December 20, 2007 7:42
> Subject: Re: [Jprogramming] nonsequential 1s
> To: [email protected]
> 
> > Devon wrote:
> > 
> >    3#&>0 1
> > 0 0 0
> > 1 1 1
> > 
> > What's the open (>) doing here? DoJ: "When applied to an open array
(that
> > has no boxed elements), open has no effect." In which case I would
expect
> > to behave as ] in this example. But
> > 
> >    3#&]0 1
> > 0 0 0 1 1 1
> > 
> > Graham

I see - because

   (#&>) b. 0
0 0 0
   (#&]) b. 0
_ _ _

Thanks!

Graham



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to