Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Trying to understand 0x88

Author: Edward Seid

Date: 07:00:41 10/30/03

Go up one level in this thread


On October 30, 2003 at 09:55:56, Daniel Clausen wrote:

>On October 30, 2003 at 09:49:28, Edward Seid wrote:
>
>>If (mask = &H08) Or (mask = &H80) Or (mask = &H88) Then
>>   ' square is off board
>>Else
>>   ' square is on board
>>End If
>
>No need to do that. If (mask and &H88) is not equal to zero, you're off the
>board. Either that or I didn't understand what you're asking.

OMG... I can't believe how obvious that was.  Thanks for your quick reply :)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.