Path: chuka.playstation.co.uk!news From: "Derek da Silva" Newsgroups: scee.yaroze.beginners Subject: Re: ---Help me pleez--- ETC ETC Date: Sun, 23 May 1999 18:02:38 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <7i9ccn$lic16@chuka.playstation.co.uk> References: <7i8dll$lic13@chuka.playstation.co.uk> <7i8vjj$lic14@chuka.playstation.co.uk> <374a0c06.238731828@news.playstation.co.uk> NNTP-Posting-Host: p79s01a01.client.global.net.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi Steven Steven Osman wrote in message >For one thing, you can just say R=(++R) %10 and eliminate an if >statement (when increasing the R, B and G). >Steven Yup. It wasn't my intention to rewrite the whole thing. Loz was already using an if statement to control a colour variable in his original, so I stuck with the way he was already doing it to get his colour problem sorted - no point in intoducing unfamiliar stuff (forgive me if I'm making inaccurate assumptions here, Loz ;-)). No doubt Loz is already making your suggested optimizations :-) Cheers Derek