| Author |
Message |
Mats W (Kålroten)
| | Posted on Tuesday, October 17, 2006 - 4:48 am: | |
'not-empty?' could be the cause of many of the problems that Zilions programmers experience. One would expect 'not-empty?' to check whether a square contains either a friendly or an enemy piece. But the problem occurs when 'not-empty?' checks a square outside the board. This generates strange problems that are hard to understand. Use 'not-empty?' with care. Mats |
|