[ 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 Grand Apothecary Chess-Classic. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating] 🕸Fergus Duniho wrote on Sun, Aug 29, 2021 03:22 PM UTC in reply to H. G. Muller from Sat Aug 28 05:36 PM: @Fergus: can there be a problem with functions that have a name starting with a period? It would appear so. I ran this code to test this: def cat * 2 #0; def .dog *2 #0; set p fn cat 8; set q fn .dog 8; dump; And the result I got was this: array(1) { [0]=> array(1) { ["main"]=> array(2) { ["p"]=> int(16) ["q"]=> array(2) { [0]=> string(1) "8" [1]=> string(2) "*2" } } } } This may be because GAME Code uses the period to separate array elements from arrays. I would recommend using aliases (old way) or rewriting the $piece array (new way) to avoid the need for writing functions with names that start with a period.
It would appear so. I ran this code to test this:
And the result I got was this:
This may be because GAME Code uses the period to separate array elements from arrays. I would recommend using aliases (old way) or rewriting the $piece array (new way) to avoid the need for writing functions with names that start with a period.