Computer Science Canada

drawfill(x,y,green, ANYTHING)

Author:  noteric [ Thu Nov 22, 2007 8:10 am ]
Post subject:  drawfill(x,y,green, ANYTHING)

Is there a way to make a drawfill stop when it hits any color (except white)? I have tried using (COLOR1 or COLOR2) but in that case, it stops at only color1.

I'm trying to make it like a "paint bucket" type of thing.

Thanks.

Author:  rdrake [ Thu Nov 22, 2007 10:34 am ]
Post subject:  RE:drawfill(x,y,green, ANYTHING)

Might need to switch to using whatdotcolour and drawdot.

Author:  Zampano [ Thu Nov 22, 2007 11:00 am ]
Post subject:  Re: drawfill(x,y,green, ANYTHING)

Interestingly, Turing allows you to have the not statement within the drawfill parameters, but since it doesn't want any colour number over 255 that doesn't work. Nor does < or >, which would solve that problem.


: