Page 1 of 1

&THISCELL problems

Posted: Sat Jun 07, 2008 10:40 am
by Toni Y
I tried to use &THISCELL, but no matter what combination of bits I set, I can't seem to get it to work as intended.

Expected was that setting bits 19 and 31 (2148007936) according to docs, would return TRUE for empty cell with nothing on it, but it always returned FALSE.

Likewise, I set all bits (4294967295), and then tried that minus all 2^n for n=0 to 31 individually, and none of those returned FALSE for an empty square. So, I'm rather baffled at what bit would mean "empty cell" since none seem to work to return TRUE or FALSE for it when it is set or unset.

So, long post short, what do I need to feed it to get it to work?

Posted: Sat Jun 07, 2008 5:09 pm
by Paul Stevens
I cannot make it work. See you
in a few hours, at most.

Posted: Sat Jun 07, 2008 5:29 pm
by Paul Stevens
Get CSBwin10_068.zip. That was quick!

The error was that an open room was
encoded as bit 18 rather than bit 19.

Zyx will have to decide if this might have
any effect on Conflux. (or use the new
version just to be safe)

Posted: Sat Jun 07, 2008 11:31 pm
by Toni Y
Empty cells seem to work as expected now with bits 2^19 an 2^31 set. Thank you very much. :)

Posted: Sun Jun 08, 2008 5:19 am
by Paul Stevens
Thanks for the report.

This is no way to introduce an Old
School designer to the DSA. :wink: