Syntax Error on line 1
MOVE: is not a valid expression, because is not a recognized piece, coordinate, command, or subroutine.
Edit the Settings File for 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: 2 moveindex 1 3 MOVE: b8-c6 4 moveindex 2 5 MOVE: e2-e4 6 moveindex 3 7 MOVE: h7-h6 8 MOVE: R -h8 9 MOVE: r -a1 10 moveindex 4 11 MOVE: b1-c3 12 moveindex 5 13 MOVE: e7-e5 14 MOVE: O -d1 15 moveindex 6 16 MOVE: d1-f3 17 moveindex 7 18 MOVE: a1-c1 19 moveindex 8 20 MOVE: e1-c1 21 moveindex 9 22 MOVE: f8-b4 23 moveindex 10 24 MOVE: f1-c4 25 moveindex 11 26 MOVE: c6-d4 27 moveindex 12 28 MOVE: f3-h5 29 moveindex 13 30 MOVE: d8-f6 31 moveindex 14 32 MOVE: a2-a3 33 moveindex 15 34 MOVE: d7-d6 35 moveindex 16 36 MOVE: h8-g8 37 moveindex 17 38 MOVE: e8-d7 39 moveindex 18 40 MOVE: h5-f7 41 moveindex 19 42 MOVE: f6-f7 43 moveindex 20 44 MOVE: g1-e2 45 moveindex 21 46 MOVE: 47 moveindex 22 48 MOVE: f2-f3 49 moveindex 23 50 MOVE: g7-g5 51 moveindex 24 52 MOVE: g8-h8 53 moveindex 25 54 MOVE: f7-g7 55 moveindex 26 56 MOVE: h8-h7 57 moveindex 27 58 MOVE: b7-b5 59 moveindex 28 60 MOVE: c3-d5 61 moveindex 29 62 MOVE: a7-a6 63 moveindex 30 64 MOVE: d5-b6 65 moveindex 31 66 MOVE: c7-d6 67 moveindex 32 68 MOVE: h7- 69 MOVE: p -b6 70 MOVE: a3-b4 71 moveindex 33 72 MOVE: b5-c4 73 moveindex 34 74 MOVE: h2-h3 75 moveindex 35 76 MOVE: a6-a5 77 moveindex 36 78 MOVE: a8- 79 moveindex 37 80 MOVE: e2- 81 moveindex 38 82 MOVE: b4-a5 83 moveindex 39 84 MOVE: h3- 85 MOVE: b6-a5 86 moveindex 40 87 MOVE: p -c8 88 moveindex 41 89 MOVE: d4-e2 90 moveindex 42 91 MOVE: N -e2 92 MOVE: c1-b1 93 moveindex 43 94 MOVE: c4- 95 MOVE: l -c3 96 moveindex 44 97 MOVE: e2- 98 MOVE: F -g3 99 moveindex 45 100 MOVE: d6-d5 101 moveindex 46 102 MOVE: h1-h6 103 MOVE: G -g3 104 moveindex 47 105 MOVE: g7-h6 106 moveindex 48 107 MOVE: R -h6 108 MOVE: g3-a1 109 moveindex 49 110 MOVE: d5-e4 111 moveindex 50 112 MOVE: f3-e4 113 MOVE: j -b3 114 moveindex 51 115 MOVE: d7-f7 116 moveindex 52 117 MOVE: l -g5 118 moveindex 53 119 MOVE: f7-h6 120 moveindex 54 121 MOVE: g2-f2 122 moveindex 55 123 MOVE: c8-d8 124 moveindex 56 125 MOVE: a1-e3 126 moveindex 57 127 MOVE: h6-f5 128 end 129functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => ; [level] => 0 [comment] => [length] => 4 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => b8-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => e2-e4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => h7-h6; R -h8; r -a1 [level] => 0 [comment] => [length] => 24 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => b1-c3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => e7-e5; O -d1 [level] => 0 [comment] => [length] => 17 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => d1-f3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => a1-c1 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => e1-c1 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => f8-b4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => f1-c4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => c6-d4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 13 [move] => f3-h5 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 7 ) [13] => MoveLine Object ( [movenum] => 14 [move] => d8-f6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 15 [move] => a2-a3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 8 ) [15] => MoveLine Object ( [movenum] => 16 [move] => d7-d6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 17 [move] => h8-g8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 9 ) [17] => MoveLine Object ( [movenum] => 18 [move] => e8-d7 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 19 [move] => h5-f7 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 10 ) [19] => MoveLine Object ( [movenum] => 20 [move] => f6-f7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 21 [move] => g1-e2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 11 ) [21] => MoveLine Object ( [movenum] => 22 [move] => ; [level] => 0 [comment] => [length] => 7 [newturn] => [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 23 [move] => f2-f3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 12 ) [23] => MoveLine Object ( [movenum] => 24 [move] => g7-g5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 25 [move] => g8-h8 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 13 ) [25] => MoveLine Object ( [movenum] => 26 [move] => f7-g7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 27 [move] => h8-h7 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 14 ) [27] => MoveLine Object ( [movenum] => 28 [move] => b7-b5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 29 [move] => c3-d5 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 15 ) [29] => MoveLine Object ( [movenum] => 30 [move] => a7-a6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 31 [move] => d5-b6 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 16 ) [31] => MoveLine Object ( [movenum] => 32 [move] => c7-d6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 33 [move] => h7- ; p -b6 ; a3-b4 [level] => 0 [comment] => [length] => 23 [newturn] => 1 [turn] => 17 ) [33] => MoveLine Object ( [movenum] => 34 [move] => b5-c4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 35 [move] => h2-h3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 18 ) [35] => MoveLine Object ( [movenum] => 36 [move] => a6-a5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 18 ) [36] => MoveLine Object ( [movenum] => 37 [move] => a8- [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 19 ) [37] => MoveLine Object ( [movenum] => 38 [move] => e2- [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 19 ) [38] => MoveLine Object ( [movenum] => 39 [move] => b4-a5 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 20 ) [39] => MoveLine Object ( [movenum] => 40 [move] => h3- ; b6-a5 [level] => 0 [comment] => [length] => 17 [newturn] => [turn] => 20 ) [40] => MoveLine Object ( [movenum] => 41 [move] => p -c8 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 21 ) [41] => MoveLine Object ( [movenum] => 42 [move] => d4-e2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 21 ) [42] => MoveLine Object ( [movenum] => 43 [move] => N -e2 ; c1-b1 [level] => 0 [comment] => [length] => 17 [newturn] => 1 [turn] => 22 ) [43] => MoveLine Object ( [movenum] => 44 [move] => c4- ; l -c3 [level] => 0 [comment] => [length] => 17 [newturn] => [turn] => 22 ) [44] => MoveLine Object ( [movenum] => 45 [move] => e2-; F -g3 [level] => 0 [comment] => [length] => 14 [newturn] => 1 [turn] => 23 ) [45] => MoveLine Object ( [movenum] => 46 [move] => d6-d5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 23 ) [46] => MoveLine Object ( [movenum] => 47 [move] => h1-h6 ; G -g3 [level] => 0 [comment] => [length] => 17 [newturn] => 1 [turn] => 24 ) [47] => MoveLine Object ( [movenum] => 48 [move] => g7-h6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 24 ) [48] => MoveLine Object ( [movenum] => 49 [move] => R -h6 ; g3-a1 [level] => 0 [comment] => [length] => 17 [newturn] => 1 [turn] => 25 ) [49] => MoveLine Object ( [movenum] => 50 [move] => d5-e4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 25 ) [50] => MoveLine Object ( [movenum] => 51 [move] => f3-e4 ; j -b3 [level] => 0 [comment] => [length] => 17 [newturn] => 1 [turn] => 26 ) [51] => MoveLine Object ( [movenum] => 52 [move] => d7-f7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 26 ) [52] => MoveLine Object ( [movenum] => 53 [move] => l -g5 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 27 ) [53] => MoveLine Object ( [movenum] => 54 [move] => f7-h6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 27 ) [54] => MoveLine Object ( [movenum] => 55 [move] => g2-f2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 28 ) [55] => MoveLine Object ( [movenum] => 56 [move] => c8-d8 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 28 ) [56] => MoveLine Object ( [movenum] => 57 [move] => a1-e3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 29 ) [57] => MoveLine Object ( [movenum] => 58 [move] => h6-f5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 29 ) )allmoves
Array ( [0] => moveindex 57;MOVE: h6-f5 [1] => moveindex 56;MOVE: a1-e3 [2] => moveindex 55;MOVE: c8-d8 [3] => moveindex 54;MOVE: g2-f2 [4] => moveindex 53;MOVE: f7-h6 [5] => moveindex 52;MOVE: l -g5 [6] => moveindex 51;MOVE: d7-f7 [7] => moveindex 50;MOVE: f3-e4 ; MOVE: j -b3 [8] => moveindex 49;MOVE: d5-e4 [9] => moveindex 48;MOVE: R -h6 ; MOVE: g3-a1 [10] => moveindex 47;MOVE: g7-h6 [11] => moveindex 46;MOVE: h1-h6 ; MOVE: G -g3 [12] => moveindex 45;MOVE: d6-d5 [13] => moveindex 44;MOVE: e2-; MOVE: F -g3 [14] => moveindex 43;MOVE: c4- ; MOVE: l -c3 [15] => moveindex 42;MOVE: N -e2 ; MOVE: c1-b1 [16] => moveindex 41;MOVE: d4-e2 [17] => moveindex 40;MOVE: p -c8 [18] => moveindex 39;MOVE: h3- ; MOVE: b6-a5 [19] => moveindex 38;MOVE: b4-a5 [20] => moveindex 37;MOVE: e2- [21] => moveindex 36;MOVE: a8- [22] => moveindex 35;MOVE: a6-a5 [23] => moveindex 34;MOVE: h2-h3 [24] => moveindex 33;MOVE: b5-c4 [25] => moveindex 32;MOVE: h7- ; MOVE: p -b6 ; MOVE: a3-b4 [26] => moveindex 31;MOVE: c7-d6 [27] => moveindex 30;MOVE: d5-b6 [28] => moveindex 29;MOVE: a7-a6 [29] => moveindex 28;MOVE: c3-d5 [30] => moveindex 27;MOVE: b7-b5 [31] => moveindex 26;MOVE: h8-h7 [32] => moveindex 25;MOVE: f7-g7 [33] => moveindex 24;MOVE: g8-h8 [34] => moveindex 23;MOVE: g7-g5 [35] => moveindex 22;MOVE: f2-f3 [36] => moveindex 21;MOVE: [37] => moveindex 20;MOVE: g1-e2 [38] => moveindex 19;MOVE: f6-f7 [39] => moveindex 18;MOVE: h5-f7 [40] => moveindex 17;MOVE: e8-d7 [41] => moveindex 16;MOVE: h8-g8 [42] => moveindex 15;MOVE: d7-d6 [43] => moveindex 14;MOVE: a2-a3 [44] => moveindex 13;MOVE: d8-f6 [45] => moveindex 12;MOVE: f3-h5 [46] => moveindex 11;MOVE: c6-d4 [47] => moveindex 10;MOVE: f1-c4 [48] => moveindex 9;MOVE: f8-b4 [49] => moveindex 8;MOVE: e1-c1 [50] => moveindex 7;MOVE: a1-c1 [51] => moveindex 6;MOVE: d1-f3 [52] => moveindex 5;MOVE: e7-e5; MOVE: O -d1 [53] => moveindex 4;MOVE: b1-c3 [54] => moveindex 3;MOVE: h7-h6; MOVE: R -h8; MOVE: r -a1 [55] => moveindex 2;MOVE: e2-e4 [56] => moveindex 1;MOVE: b8-c6 [57] => moveindex 0;MOVE: )movelist
1. ; 1... b8-c6 2. e2-e4 2... h7-h6; R -h8; r -a1 3. b1-c3 3... e7-e5; O -d1 4. d1-f3 4... a1-c1 5. e1-c1 5... f8-b4 6. f1-c4 6... c6-d4 7. f3-h5 7... d8-f6 8. a2-a3 8... d7-d6 9. h8-g8 9... e8-d7 10. h5-f7 10... f6-f7 11. g1-e2 11... ; 12. f2-f3 12... g7-g5 13. g8-h8 13... f7-g7 14. h8-h7 14... b7-b5 15. c3-d5 15... a7-a6 16. d5-b6 16... c7-d6 17. h7- ; p -b6 ; a3-b4 17... b5-c4 18. h2-h3 18... a6-a5 19. a8- 19... e2- 20. b4-a5 20... h3- ; b6-a5 21. p -c8 21... d4-e2 22. N -e2 ; c1-b1 22... c4- ; l -c3 23. e2-; F -g3 23... d6-d5 24. h1-h6 ; G -g3 24... g7-h6 25. R -h6 ; g3-a1 25... d5-e4 26. f3-e4 ; j -b3 26... d7-f7 27. l -g5 27... f7-h6 28. g2-f2 28... c8-d8 29. a1-e3 29... h6-f5constants
Array ( )