Syntax Error on line 1
MOVE: Q b2-a3 is not a valid expression, because Q is not a recognized piece, coordinate, command, or subroutine.
Edit the Settings File for Ladder 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: Q b2-a3 2 moveindex 1 3 MOVE: p b8-b6 4 moveindex 2 5 MOVE: P c4-c6 6 moveindex 3 7 MOVE: p c9-c7 8 moveindex 4 9 MOVE: P d5-d6 10 moveindex 5 11 MOVE: p d10-d8 12 moveindex 6 13 MOVE: P d6-c7 14 moveindex 7 15 MOVE: p d8-c7 16 moveindex 8 17 MOVE: P b3-b5 18 moveindex 9 19 MOVE: q d11-e10 20 moveindex 10 21 MOVE: Q a3-b3 22 moveindex 11 23 MOVE: p a7-a6 24 moveindex 12 25 MOVE: P e6-e7 26 moveindex 13 27 MOVE: b c10-e8 28 moveindex 14 29 MOVE: Q b3-e6 30 moveindex 15 31 MOVE: n b9-d10 32 moveindex 16 33 MOVE: K a1-b2 34 moveindex 17 35 MOVE: n d10-c8 36 moveindex 18 37 MOVE: P b5-a6 38 moveindex 19 39 MOVE: r a8-a6 40 moveindex 20 41 MOVE: N d4-b5 42 moveindex 21 43 MOVE: b e8-d9 44 moveindex 22 45 MOVE: N b5-c7 46 moveindex 23 47 MOVE: r a6-a7 48 moveindex 24 49 MOVE: N c7-d9 50 moveindex 25 51 MOVE: q e10-d9 52 moveindex 26 53 MOVE: P e7-e8 54 moveindex 27 55 MOVE: q d9-e10 56 moveindex 28 57 MOVE: B c3-b4 58 moveindex 29 59 MOVE: r a7-c7 60 moveindex 30 61 MOVE: P e8-e9 62 moveindex 31 63 MOVE: n c8-a7 64 moveindex 32 65 MOVE: Q e6-d6 66 moveindex 33 67 MOVE: r c7-c6 68 moveindex 34 69 MOVE: Q d6-b8 70 moveindex 35 71 MOVE: n a7-c8 72 moveindex 36 73 MOVE: Q b8-a8 74 moveindex 37 75 MOVE: resign 76 end 77functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => Q b2-a3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => p b8-b6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => P c4-c6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => p c9-c7 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => P d5-d6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => p d10-d8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => P d6-c7 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => p d8-c7 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => P b3-b5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => q d11-e10 [level] => 0 [comment] => [length] => 14 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => Q a3-b3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => p a7-a6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 13 [move] => P e6-e7 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 7 ) [13] => MoveLine Object ( [movenum] => 14 [move] => b c10-e8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 15 [move] => Q b3-e6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 8 ) [15] => MoveLine Object ( [movenum] => 16 [move] => n b9-d10 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 17 [move] => K a1-b2 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [17] => MoveLine Object ( [movenum] => 18 [move] => n d10-c8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 19 [move] => P b5-a6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [19] => MoveLine Object ( [movenum] => 20 [move] => r a8-a6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 21 [move] => N d4-b5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 11 ) [21] => MoveLine Object ( [movenum] => 22 [move] => b e8-d9 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 23 [move] => N b5-c7 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 12 ) [23] => MoveLine Object ( [movenum] => 24 [move] => r a6-a7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 25 [move] => N c7-d9 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 13 ) [25] => MoveLine Object ( [movenum] => 26 [move] => q e10-d9 [level] => 0 [comment] => [length] => 14 [newturn] => [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 27 [move] => P e7-e8 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 14 ) [27] => MoveLine Object ( [movenum] => 28 [move] => q d9-e10 [level] => 0 [comment] => [length] => 14 [newturn] => [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 29 [move] => B c3-b4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 15 ) [29] => MoveLine Object ( [movenum] => 30 [move] => r a7-c7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 31 [move] => P e8-e9 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 16 ) [31] => MoveLine Object ( [movenum] => 32 [move] => n c8-a7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 33 [move] => Q e6-d6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 17 ) [33] => MoveLine Object ( [movenum] => 34 [move] => r c7-c6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 35 [move] => Q d6-b8 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 18 ) [35] => MoveLine Object ( [movenum] => 36 [move] => n a7-c8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 18 ) [36] => MoveLine Object ( [movenum] => 37 [move] => Q b8-a8 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 19 ) [37] => MoveLine Object ( [movenum] => 38 [move] => resign [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 19 ) )allmoves
Array ( [0] => moveindex 37;MOVE: resign [1] => moveindex 36;MOVE: Q b8-a8 [2] => moveindex 35;MOVE: n a7-c8 [3] => moveindex 34;MOVE: Q d6-b8 [4] => moveindex 33;MOVE: r c7-c6 [5] => moveindex 32;MOVE: Q e6-d6 [6] => moveindex 31;MOVE: n c8-a7 [7] => moveindex 30;MOVE: P e8-e9 [8] => moveindex 29;MOVE: r a7-c7 [9] => moveindex 28;MOVE: B c3-b4 [10] => moveindex 27;MOVE: q d9-e10 [11] => moveindex 26;MOVE: P e7-e8 [12] => moveindex 25;MOVE: q e10-d9 [13] => moveindex 24;MOVE: N c7-d9 [14] => moveindex 23;MOVE: r a6-a7 [15] => moveindex 22;MOVE: N b5-c7 [16] => moveindex 21;MOVE: b e8-d9 [17] => moveindex 20;MOVE: N d4-b5 [18] => moveindex 19;MOVE: r a8-a6 [19] => moveindex 18;MOVE: P b5-a6 [20] => moveindex 17;MOVE: n d10-c8 [21] => moveindex 16;MOVE: K a1-b2 [22] => moveindex 15;MOVE: n b9-d10 [23] => moveindex 14;MOVE: Q b3-e6 [24] => moveindex 13;MOVE: b c10-e8 [25] => moveindex 12;MOVE: P e6-e7 [26] => moveindex 11;MOVE: p a7-a6 [27] => moveindex 10;MOVE: Q a3-b3 [28] => moveindex 9;MOVE: q d11-e10 [29] => moveindex 8;MOVE: P b3-b5 [30] => moveindex 7;MOVE: p d8-c7 [31] => moveindex 6;MOVE: P d6-c7 [32] => moveindex 5;MOVE: p d10-d8 [33] => moveindex 4;MOVE: P d5-d6 [34] => moveindex 3;MOVE: p c9-c7 [35] => moveindex 2;MOVE: P c4-c6 [36] => moveindex 1;MOVE: p b8-b6 [37] => moveindex 0;MOVE: Q b2-a3 )movelist
1. Q b2-a3 1... p b8-b6 2. P c4-c6 2... p c9-c7 3. P d5-d6 3... p d10-d8 4. P d6-c7 4... p d8-c7 5. P b3-b5 5... q d11-e10 6. Q a3-b3 6... p a7-a6 7. P e6-e7 7... b c10-e8 8. Q b3-e6 8... n b9-d10 9. K a1-b2 9... n d10-c8 10. P b5-a6 10... r a8-a6 11. N d4-b5 11... b e8-d9 12. N b5-c7 12... r a6-a7 13. N c7-d9 13... q e10-d9 14. P e7-e8 14... q d9-e10 15. B c3-b4 15... r a7-c7 16. P e8-e9 16... n c8-a7 17. Q e6-d6 17... r c7-c6 18. Q d6-b8 18... n a7-c8 19. Q b8-a8 19... resignconstants
Array ( )