Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Most obscure bug *ever*

Author: Dave Gomboc

Date: 18:40:23 10/23/02

Go up one level in this thread


On October 23, 2002 at 15:25:04, Colin Frayn wrote:

>Then I suddenly realised.  Carlos had been sending strings to the engine of the
>form;
>3r4/5b2/1k1r1p2/Np5p/4P1p1/2R1KPP1/2P4P/R7 w
>
>(i.e. missing off the last two dashes.)  The full string should be
>3r4/5b2/1k1r1p2/Np5p/4P1p1/2R1KPP1/2P4P/R7 w - -
>
>but of course the shortened version should still be valid.

Why do you say that?  All those fields are required.  The EPD parsing code I
ahve written throws an exception on your first example.  Sounds like that would
have saved you a lot of grief!

Dave




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.