Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: UPDATE GES 118a available - fixes 3-fold rep bug

Author: Andrew Platt

Date: 06:53:37 09/17/04

Go up one level in this thread


On September 17, 2004 at 07:45:04, David B Weller wrote:

>Introduced a 3-fold rep bug in v.118
>
>Had an ambiguous nested if then else statement
>
>What are the rules for avoiding that, I wonder. Do you just _always_ use braces?

That's my way of avoiding it; I also find it enhances readability - at least the
way I have braces on a new line. But that's a personal opinion and everyone has
their $0.10 for code formatting!

Andy.



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.