Syntax Error on line 7

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: e2-e4
   2 moveindex 1
   3 MOVE: c7-c5
   4 moveindex 2
   5 MOVE: g1-f3
   6 moveindex 3
   7 MOVE:
   8 moveindex 4
   9 MOVE: x -e8
  10 MOVE:  X -e1
  11 moveindex 5
  12 MOVE: b8-
  13 MOVE:  f -c6
  14 moveindex 6
  15 MOVE: f3-g5
  16 moveindex 7
  17 MOVE: c6-d4
  18 moveindex 8
  19 MOVE: g5-h7
  20 MOVE:  F -h7
  21 moveindex 9
  22 MOVE: d4-c2
  23 moveindex 10
  24 MOVE: d1-c2
  25 MOVE:  c2-e4
  26 moveindex 11
  27 MOVE: e4-c6
  28 moveindex 12
  29 MOVE: f1-c4
  30 MOVE:  s -a8
  31 moveindex 13
  32 MOVE: d7-c6
  33 moveindex 14
  34 MOVE: a8-c8
  35 moveindex 15
  36 MOVE: d8-c8
  37 moveindex 16
  38 MOVE: e1-g1
  39 MOVE:  h1-f1
  40 moveindex 17
  41 MOVE: c8-f5
  42 moveindex 18
  43 MOVE: b1-c3
  44 moveindex 19
  45 MOVE: b7-b5
  46 moveindex 20
  47 MOVE: c3-b5
  48 moveindex 21
  49 MOVE: f5-c2
  50 moveindex 22
  51 MOVE: b5-a3
  52 moveindex 23
  53 MOVE: c2-c1
  54 moveindex 24
  55 MOVE: f1-c1
  56 MOVE:  q -d8
  57 moveindex 25
  58 MOVE: h8-h7
  59 moveindex 26
  60 MOVE: K -e1
  61 MOVE:  X -e1
  62 moveindex 27
  63 MOVE: g7-b2
  64 moveindex 28
  65 MOVE: c1-c3
  66 moveindex 29
  67 MOVE: f8-g7
  68 moveindex 30
  69 MOVE: c3-d3
  70 moveindex 31
  71 MOVE: g8-h6
  72 moveindex 32
  73 MOVE: d3-d8
  74 MOVE:  G -f6
  75 moveindex 33
  76 MOVE: r -d8
  77 MOVE:  h6-f5
  78 moveindex 34
  79 MOVE: c -d8
  80 moveindex 35
  81 MOVE: r -d8
  82 MOVE:  f5-d4
  83 moveindex 36
  84 MOVE: e1-e3
  85 moveindex 37
  86 MOVE: P -a1
  87 moveindex 38
  88 MOVE: p -d8
  89 moveindex 39
  90 MOVE: J -a3
  91 moveindex 40
  92 MOVE: e3-d4
  93 MOVE:  M -a3
  94 moveindex 41
  95 MOVE: c5-d4
  96 moveindex 42
  97 MOVE: R -h1
  98 moveindex 43
  99 MOVE: d8-d6
 100 moveindex 44
 101 MOVE: g1-e2
 102 moveindex 45
 103 MOVE: h7-h1
 104 moveindex 46
 105 MOVE: e2-d4
 106 moveindex 47
 107 MOVE: e8-d7
 108 moveindex 48
 109 MOVE: a3-c2
 110 moveindex 49
 111 MOVE: c6-c5
 112 moveindex 50
 113 MOVE: d4-f4
 114 moveindex 51
 115 MOVE: g7-d2
 116 moveindex 52
 117 MOVE: f4-d2
 118 moveindex 53
 119 MOVE: h1-h2
 120 moveindex 54
 121 MOVE: c2-e3
 122 moveindex 55
 123 MOVE: e7-e6
 124 moveindex 56
 125 MOVE: e3-g2
 126 MOVE:  P -e3
 127 MOVE:  g2-h2
 128 moveindex 57
 129 MOVE: c4-a2
 130 moveindex 58
 131 MOVE: resign
 132 end
 133 

functions

uservar

Array ( [0] => Array ( [main] => Array ( ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => e2-e4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => c7-c5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => g1-f3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => ; [level] => 0 [comment] => [length] => 6 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => x -e8; X -e1 [level] => 0 [comment] => [length] => 15 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => b8- ; f -c6 [level] => 0 [comment] => [length] => 16 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => f3-g5 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => c6-d4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => g5-h7; F -h7 [level] => 0 [comment] => [length] => 15 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => d4-c2 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => d1-c2; c2-e4 [level] => 0 [comment] => [length] => 15 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => e4-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 13 [move] => f1-c4; s -a8 [level] => 0 [comment] => [length] => 15 [newturn] => 1 [turn] => 7 ) [13] => MoveLine Object ( [movenum] => 14 [move] => d7-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 15 [move] => a8-c8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 8 ) [15] => MoveLine Object ( [movenum] => 16 [move] => d8-c8 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 17 [move] => e1-g1; h1-f1 [level] => 0 [comment] => [length] => 15 [newturn] => 1 [turn] => 9 ) [17] => MoveLine Object ( [movenum] => 18 [move] => c8-f5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 19 [move] => b1-c3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 10 ) [19] => MoveLine Object ( [movenum] => 20 [move] => b7-b5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 21 [move] => c3-b5 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 11 ) [21] => MoveLine Object ( [movenum] => 22 [move] => f5-c2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 23 [move] => b5-a3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 12 ) [23] => MoveLine Object ( [movenum] => 24 [move] => c2-c1 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 25 [move] => f1-c1; q -d8 [level] => 0 [comment] => [length] => 16 [newturn] => 1 [turn] => 13 ) [25] => MoveLine Object ( [movenum] => 26 [move] => h8-h7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 27 [move] => K -e1; X -e1 [level] => 0 [comment] => [length] => 16 [newturn] => 1 [turn] => 14 ) [27] => MoveLine Object ( [movenum] => 28 [move] => g7-b2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 29 [move] => c1-c3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 15 ) [29] => MoveLine Object ( [movenum] => 30 [move] => f8-g7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 31 [move] => c3-d3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 16 ) [31] => MoveLine Object ( [movenum] => 32 [move] => g8-h6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 33 [move] => d3-d8; G -f6 [level] => 0 [comment] => [length] => 16 [newturn] => 1 [turn] => 17 ) [33] => MoveLine Object ( [movenum] => 34 [move] => r -d8 ; h6-f5 [level] => 0 [comment] => [length] => 19 [newturn] => [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 35 [move] => c -d8 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 18 ) [35] => MoveLine Object ( [movenum] => 36 [move] => r -d8; f5-d4 [level] => 0 [comment] => [length] => 18 [newturn] => [turn] => 18 ) [36] => MoveLine Object ( [movenum] => 37 [move] => e1-e3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 19 ) [37] => MoveLine Object ( [movenum] => 38 [move] => P -a1 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 19 ) [38] => MoveLine Object ( [movenum] => 39 [move] => p -d8 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 20 ) [39] => MoveLine Object ( [movenum] => 40 [move] => J -a3 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 20 ) [40] => MoveLine Object ( [movenum] => 41 [move] => e3-d4; M -a3 [level] => 0 [comment] => [length] => 16 [newturn] => 1 [turn] => 21 ) [41] => MoveLine Object ( [movenum] => 42 [move] => c5-d4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 21 ) [42] => MoveLine Object ( [movenum] => 43 [move] => R -h1 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 22 ) [43] => MoveLine Object ( [movenum] => 44 [move] => d8-d6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 22 ) [44] => MoveLine Object ( [movenum] => 45 [move] => g1-e2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 23 ) [45] => MoveLine Object ( [movenum] => 46 [move] => h7-h1 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 23 ) [46] => MoveLine Object ( [movenum] => 47 [move] => e2-d4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 24 ) [47] => MoveLine Object ( [movenum] => 48 [move] => e8-d7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 24 ) [48] => MoveLine Object ( [movenum] => 49 [move] => a3-c2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 25 ) [49] => MoveLine Object ( [movenum] => 50 [move] => c6-c5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 25 ) [50] => MoveLine Object ( [movenum] => 51 [move] => d4-f4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 26 ) [51] => MoveLine Object ( [movenum] => 52 [move] => g7-d2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 26 ) [52] => MoveLine Object ( [movenum] => 53 [move] => f4-d2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 27 ) [53] => MoveLine Object ( [movenum] => 54 [move] => h1-h2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 27 ) [54] => MoveLine Object ( [movenum] => 55 [move] => c2-e3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 28 ) [55] => MoveLine Object ( [movenum] => 56 [move] => e7-e6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 28 ) [56] => MoveLine Object ( [movenum] => 57 [move] => e3-g2; P -e3; g2-h2 [level] => 0 [comment] => [length] => 23 [newturn] => 1 [turn] => 29 ) [57] => MoveLine Object ( [movenum] => 58 [move] => c4-a2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 29 ) [58] => MoveLine Object ( [movenum] => 59 [move] => resign [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 30 ) )

allmoves

Array ( [0] => moveindex 58;MOVE: resign [1] => moveindex 57;MOVE: c4-a2 [2] => moveindex 56;MOVE: e3-g2; MOVE: P -e3; MOVE: g2-h2 [3] => moveindex 55;MOVE: e7-e6 [4] => moveindex 54;MOVE: c2-e3 [5] => moveindex 53;MOVE: h1-h2 [6] => moveindex 52;MOVE: f4-d2 [7] => moveindex 51;MOVE: g7-d2 [8] => moveindex 50;MOVE: d4-f4 [9] => moveindex 49;MOVE: c6-c5 [10] => moveindex 48;MOVE: a3-c2 [11] => moveindex 47;MOVE: e8-d7 [12] => moveindex 46;MOVE: e2-d4 [13] => moveindex 45;MOVE: h7-h1 [14] => moveindex 44;MOVE: g1-e2 [15] => moveindex 43;MOVE: d8-d6 [16] => moveindex 42;MOVE: R -h1 [17] => moveindex 41;MOVE: c5-d4 [18] => moveindex 40;MOVE: e3-d4; MOVE: M -a3 [19] => moveindex 39;MOVE: J -a3 [20] => moveindex 38;MOVE: p -d8 [21] => moveindex 37;MOVE: P -a1 [22] => moveindex 36;MOVE: e1-e3 [23] => moveindex 35;MOVE: r -d8; MOVE: f5-d4 [24] => moveindex 34;MOVE: c -d8 [25] => moveindex 33;MOVE: r -d8 ; MOVE: h6-f5 [26] => moveindex 32;MOVE: d3-d8; MOVE: G -f6 [27] => moveindex 31;MOVE: g8-h6 [28] => moveindex 30;MOVE: c3-d3 [29] => moveindex 29;MOVE: f8-g7 [30] => moveindex 28;MOVE: c1-c3 [31] => moveindex 27;MOVE: g7-b2 [32] => moveindex 26;MOVE: K -e1; MOVE: X -e1 [33] => moveindex 25;MOVE: h8-h7 [34] => moveindex 24;MOVE: f1-c1; MOVE: q -d8 [35] => moveindex 23;MOVE: c2-c1 [36] => moveindex 22;MOVE: b5-a3 [37] => moveindex 21;MOVE: f5-c2 [38] => moveindex 20;MOVE: c3-b5 [39] => moveindex 19;MOVE: b7-b5 [40] => moveindex 18;MOVE: b1-c3 [41] => moveindex 17;MOVE: c8-f5 [42] => moveindex 16;MOVE: e1-g1; MOVE: h1-f1 [43] => moveindex 15;MOVE: d8-c8 [44] => moveindex 14;MOVE: a8-c8 [45] => moveindex 13;MOVE: d7-c6 [46] => moveindex 12;MOVE: f1-c4; MOVE: s -a8 [47] => moveindex 11;MOVE: e4-c6 [48] => moveindex 10;MOVE: d1-c2; MOVE: c2-e4 [49] => moveindex 9;MOVE: d4-c2 [50] => moveindex 8;MOVE: g5-h7; MOVE: F -h7 [51] => moveindex 7;MOVE: c6-d4 [52] => moveindex 6;MOVE: f3-g5 [53] => moveindex 5;MOVE: b8- ; MOVE: f -c6 [54] => moveindex 4;MOVE: x -e8; MOVE: X -e1 [55] => moveindex 3;MOVE: [56] => moveindex 2;MOVE: g1-f3 [57] => moveindex 1;MOVE: c7-c5 [58] => moveindex 0;MOVE: e2-e4 )

movelist

1. e2-e4 1... c7-c5 2. g1-f3 2... ; 3. x -e8; X -e1 3... b8- ; f -c6 4. f3-g5 4... c6-d4 5. g5-h7; F -h7 5... d4-c2 6. d1-c2; c2-e4 6... e4-c6 7. f1-c4; s -a8 7... d7-c6 8. a8-c8 8... d8-c8 9. e1-g1; h1-f1 9... c8-f5 10. b1-c3 10... b7-b5 11. c3-b5 11... f5-c2 12. b5-a3 12... c2-c1 13. f1-c1; q -d8 13... h8-h7 14. K -e1; X -e1 14... g7-b2 15. c1-c3 15... f8-g7 16. c3-d3 16... g8-h6 17. d3-d8; G -f6 17... r -d8 ; h6-f5 18. c -d8 18... r -d8; f5-d4 19. e1-e3 19... P -a1 20. p -d8 20... J -a3 21. e3-d4; M -a3 21... c5-d4 22. R -h1 22... d8-d6 23. g1-e2 23... h7-h1 24. e2-d4 24... e8-d7 25. a3-c2 25... c6-c5 26. d4-f4 26... g7-d2 27. f4-d2 27... h1-h2 28. c2-e3 28... e7-e6 29. e3-g2; P -e3; g2-h2 29... c4-a2 30. resign

constants

Array ( )