Page 1 of 1

Y doesn't increment

Posted: Mon Feb 27, 2006 3:49 pm
by chippy73
I can't see why Y won't increment. Is it something to do with the StrartDrawing command?

The code below is obviously only a part of the main program.

Any comments most welcomed.

Alan


Code: Select all

 StartDrawing(WindowOutput())
  DrawingMode(0)
  For y=1 To 50

  For s=0 To #fft_SampleSize/2 
    For x=1 To 300
    Plot(x,y,fv(s))
    Debug y
  Next x
  Next s

Next y 
  StopDrawing()

Re: Y doesn't increment

Posted: Mon Feb 27, 2006 4:57 pm
by traumatic
Works fine here, it just may take some time depending on #fft_SampleSize ;)

Posted: Mon Feb 27, 2006 5:03 pm
by chippy73
Mmmm, very strange.

I took out the debug y and it worked.

The fft_SampleSize is only 512 at the moment, and it doesn't take long to process.

Thanks for your comments

Alan