Syntax Error on line 19
MOVE: Q d1-d2 is not a valid expression, because Q is not a recognized piece, coordinate, command, or subroutine.
Edit the Settings File for Accelerated Chess
For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.
0 moveindex 0 1 MOVE: P e2-e4 2 moveindex 1 3 MOVE: p e7-e5 4 MOVE: n g8-f6 5 moveindex 2 6 MOVE: B f1-c4 7 MOVE: P d2-d3 8 moveindex 3 9 MOVE: p d7-d5 10 MOVE: b f8-c5 11 moveindex 4 12 MOVE: P e4-d5 13 moveindex 5 14 MOVE: e8-g8 15 MOVE: h8-f8 16 MOVE: c8-g4 17 moveindex 6 18 MOVE: B c1-e3 19 MOVE: Q d1-d2 20 moveindex 7 21 MOVE: d8-d6 22 MOVE: b8-d7 23 moveindex 8 24 MOVE: B c4-b3 25 MOVE: P c2-c4 26 moveindex 9 27 MOVE: a8-e8 28 MOVE: c5-b4 29 moveindex 10 30 MOVE: N b1-c3 31 MOVE: P f2-f3 32 moveindex 11 33 MOVE: g4-f5 34 MOVE: c7-c6 35 moveindex 12 36 MOVE: P d5-c6 37 moveindex 13 38 MOVE: p b7-c6 39 moveindex 14 40 MOVE: K e1-c1 41 MOVE: R a1-d1 42 MOVE: Q d2-c2 43 moveindex 15 44 MOVE: e5-e4 45 MOVE: d7-c5 46 moveindex 16 47 MOVE: P d3-e4 48 moveindex 17 49 MOVE: q d6-e6 50 moveindex 18 51 MOVE: B e3-c5 52 moveindex 19 53 MOVE: b b4-c5 54 moveindex 20 55 MOVE: P e4-f5 56 moveindex 21 57 MOVE: q e6-e7 58 moveindex 22 59 MOVE: N g1-h3 60 moveindex 23 61 MOVE: resign 62 end 63functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => P e2-e4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => p e7-e5 ; n g8-f6 [level] => 0 [comment] => [length] => 22 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => B f1-c4; P d2-d3 [level] => 0 [comment] => [length] => 19 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => p d7-d5; b f8-c5 [level] => 0 [comment] => [length] => 21 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => P e4-d5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => e8-g8 ; h8-f8 ; c8-g4 [level] => 0 [comment] => [length] => 26 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => B c1-e3; Q d1-d2 [level] => 0 [comment] => [length] => 19 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => d8-d6 ; b8-d7 [level] => 0 [comment] => [length] => 18 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => B c4-b3; P c2-c4 [level] => 0 [comment] => [length] => 19 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => a8-e8 ; c5-b4 [level] => 0 [comment] => [length] => 18 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => N b1-c3; P f2-f3 [level] => 0 [comment] => [length] => 19 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => g4-f5 ; c7-c6 [level] => 0 [comment] => [length] => 18 [newturn] => [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 13 [move] => P d5-c6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 7 ) [13] => MoveLine Object ( [movenum] => 14 [move] => p b7-c6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 15 [move] => K e1-c1; R a1-d1; Q d2-c2 [level] => 0 [comment] => [length] => 28 [newturn] => 1 [turn] => 8 ) [15] => MoveLine Object ( [movenum] => 16 [move] => e5-e4 ; d7-c5 [level] => 0 [comment] => [length] => 18 [newturn] => [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 17 [move] => P d3-e4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [17] => MoveLine Object ( [movenum] => 18 [move] => q d6-e6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 19 [move] => B e3-c5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [19] => MoveLine Object ( [movenum] => 20 [move] => b b4-c5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 21 [move] => P e4-f5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 11 ) [21] => MoveLine Object ( [movenum] => 22 [move] => q e6-e7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 23 [move] => N g1-h3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 12 ) [23] => MoveLine Object ( [movenum] => 24 [move] => resign [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 12 ) )allmoves
Array ( [0] => moveindex 23;MOVE: resign [1] => moveindex 22;MOVE: N g1-h3 [2] => moveindex 21;MOVE: q e6-e7 [3] => moveindex 20;MOVE: P e4-f5 [4] => moveindex 19;MOVE: b b4-c5 [5] => moveindex 18;MOVE: B e3-c5 [6] => moveindex 17;MOVE: q d6-e6 [7] => moveindex 16;MOVE: P d3-e4 [8] => moveindex 15;MOVE: e5-e4 ; MOVE: d7-c5 [9] => moveindex 14;MOVE: K e1-c1; MOVE: R a1-d1; MOVE: Q d2-c2 [10] => moveindex 13;MOVE: p b7-c6 [11] => moveindex 12;MOVE: P d5-c6 [12] => moveindex 11;MOVE: g4-f5 ; MOVE: c7-c6 [13] => moveindex 10;MOVE: N b1-c3; MOVE: P f2-f3 [14] => moveindex 9;MOVE: a8-e8 ; MOVE: c5-b4 [15] => moveindex 8;MOVE: B c4-b3; MOVE: P c2-c4 [16] => moveindex 7;MOVE: d8-d6 ; MOVE: b8-d7 [17] => moveindex 6;MOVE: B c1-e3; MOVE: Q d1-d2 [18] => moveindex 5;MOVE: e8-g8 ; MOVE: h8-f8 ; MOVE: c8-g4 [19] => moveindex 4;MOVE: P e4-d5 [20] => moveindex 3;MOVE: p d7-d5; MOVE: b f8-c5 [21] => moveindex 2;MOVE: B f1-c4; MOVE: P d2-d3 [22] => moveindex 1;MOVE: p e7-e5 ; MOVE: n g8-f6 [23] => moveindex 0;MOVE: P e2-e4 )movelist
1. P e2-e4 1... p e7-e5 ; n g8-f6 2. B f1-c4; P d2-d3 2... p d7-d5; b f8-c5 3. P e4-d5 3... e8-g8 ; h8-f8 ; c8-g4 4. B c1-e3; Q d1-d2 4... d8-d6 ; b8-d7 5. B c4-b3; P c2-c4 5... a8-e8 ; c5-b4 6. N b1-c3; P f2-f3 6... g4-f5 ; c7-c6 7. P d5-c6 7... p b7-c6 8. K e1-c1; R a1-d1; Q d2-c2 8... e5-e4 ; d7-c5 9. P d3-e4 9... q d6-e6 10. B e3-c5 10... b b4-c5 11. P e4-f5 11... q e6-e7 12. N g1-h3 12... resignconstants
Array ( )