Randy, I assume you mean: +:i.>.-:27
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of R.A. MacDonald > Sent: Tuesday, 22 May 2007 10:22 > To: Programming forum > Subject: Re: [Jprogramming] How can I get a list containing > of every multipleof 2 less than or equal to 27? > > Hello Terrence; > > Does 0 belong? > > Why all the parentheses? > > Why not > > +.i.>.-: 27 > > > > > > Terrence Brannon wrote: > > > >> I'm sure many of you are suspecting that I am doing a naive > >> implementation of the Sieve of Eratosthenes - > >> > > > > Ooops. I never asked the question. But I figured out how to > get a list > > containing every multiple of 2 less than 27: > > > > 2*( i.(>. 27 % 2) ) > > > > What a genius I am. > > > > > ---------------------------------------------------------------------- > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > -- > -------------------------------------------------------------- > ---------- > |\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram) > |/\| [EMAIL PROTECTED] | > |\ | | The only real problem with APL is that > BSc(Math) UNBF'83 | it is "still ahead of its time." > Sapere Aude | - Morten Kromberg > Natural Born APL'er | Demo website: http://156.34.65.44/ > -----------------------------------------------------(INTP)--- > -{ gnat }- > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
