Re: Help for a beginner please!

new topic     » goto parent     » topic index » view thread      » older message » newer message

amux wrote:
> 
> Does anyone want to comment
> this part of a program?
> 
> }}}
<eucode>
> for i = startx to endx do
> -- ERASE PIXMAP1 (OVERWRITE PIXMAP1 BY PIXMAP2 IN MEMORY)
> 	 copyBlt(pixmap1,0,0,pixmap2)
> -- DRAW GRAPHICS ON PIXMAP1
> 	drawEllipse(pixmap1,0,i,23,i+rad,(23+rad))
> -- COPY PIXMAP1 TO CONTROL WIN1
> 	copyBlt(win1,x,y,pixmap1)
>  end for
> </eucode>
{{{

> 
> /amux

startx and endx have not been assigned a value and are not used in the loop

 You need something like
for x=1 to 10 do
  for y=1 to 10 do
    --I don't know what your trying to do here
  end for
end for
Don Cole
}}}

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu