Re: Bug ???
- To: mathgroup at smc.vnet.net
- Subject: [mg81834] Re: Bug ???
- From: Bill Rowe <readnewsciv at sbcglobal.net>
- Date: Thu, 4 Oct 2007 04:30:58 -0400 (EDT)
On 10/3/07 at 6:34 AM, grafix at csl.pl (Artur) wrote:
>Why doesn't work:
>a={};
>Do[k=n^2-(Floor[n^2(2/3)])^2;If[k=0,
>AppendTo[a,{k,n^2}]],{n,1,1000}];
Where you have If[k=0, you probably mean If[k==0,
k=0 is an assignment statement which makes no sense as a
conditional for If.
--
To reply via email subtract one hundred and four