Author: Andrew Wagner
Date: 05:50:15 02/16/04
Go up one level in this thread
On February 15, 2004 at 22:05:39, Charles Roberson wrote: > > On second viewing, maybe I was incorrect. I thought you were passing b in > your call to search. You are not; you are passing another pointer scoped to > current stack level. So, that looks fine. I am not up on the language you are > using, but is there a need to put a * in front of b as we do in C in the > line: b = mMove_Stack(i). In general, your error is indicative of a pointer > problem. > > This leads us to look for the problem in mMove_Stack(i), Gen_Moves, Make_Move >or your math in the for loop. Thanks for the suggestions. The code currently at www.lechess.com/search.txt is working now. There is no * in vb.net for a pointer, receiving it "byref" takes care of that. And yes, I'm still testing and re-testing those mentioned functions. Tracked one bug for two bloody hours last night...turned out I was using & instead of and. So instead of testing to see if a move was a castling move, it would just mysteriously cause several pieces to disappear. Yeesh.
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.