Author: Volker Böhm
Date: 04:02:52 09/06/04
Go up one level in this thread
Hi Stuart,
once we used #ifdef´s too. I use now constants. My C++ compiler is able to fully
remove any "if (false)" or "if (true).
Thus
#define DONULL
#ifdef DONULL
*Nullmove-Code*
#endif
is
const DoNull = true;
if (DoNull)
{
*Nullmove-Code*
}
It works fine and is less ugly to read.
Greetings Volker
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.