Path: chuka.playstation.co.uk!news From: Nigel Critten Newsgroups: scee.yaroze.freetalk.english Subject: Re: Adventures Date: Fri, 11 Oct 2002 23:44:34 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: References: NNTP-Posting-Host: modem-773.arcanine.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en Its alright I sorted the problem as I was typing the last post... doh! funny how often you can think of something as you type but you can stare at the code for hours without results :) I now XOR them together which basically is the same as an or but if you get to 1s then they turn to 0s which is perfect because they then don't match. a =111000 b =000111 result = 111111 a = 111001 b = 000111 result = 111110 which is nice ;) Nigel