Check out Modern Chess, our featured variant for January, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Jan 28, 2009 04:53 AM UTC:
I've gotten closer to isolating the problem. The PHP language construct isset returns false when a variable exists but has a null value, and I had been expecting it to return true whenever a variable exists no matter what it's value is. So, in the code you gave, the local a2 had a null value, and isset failed to recognize that it existed. I need to replace my uses of isset with something else, maybe array_key_exists, but I will continue work on it later.