Here's an easy one: Loop to change bkgcolor
Rob Cozens
rcozens at pon.net
Sun Mar 2 15:42:01 EST 2003
>>
if rValue < 255 or secondPass then put rValue+15 into item 1 of it
if gValue < 255 or secondPass then put gValue+15 into item 2 of it
if bValue < 255 or secondPass then put bValue+15 into item 3 of it
>>
Sorry Peter,
I'm intellectually low today & it shows:
if secondPass then
put rValue+15 into item 1 of it
put gValue+15 into item 2 of it
put bValue+15 into item 3 of it
else
if rValue < 255 then put rValue+15 into item 1 of it
else
if gValue < 255 then put gValue+15 into item 2 of it
else put bValue+15 into item 3 of it
end if
end if
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list