Syntax Error on line 1

MOVE: s-p17 is not a valid expression, because s-p17 is not a recognized piece, coordinate, command, or subroutine.

Edit the Settings File for Go

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: s-p17
   2 moveindex 1
   3 MOVE: S-j10
   4 moveindex 2
   5 MOVE: s-p4
   6 moveindex 3
   7 MOVE: S-h16
   8 moveindex 4
   9 MOVE: s-d17
  10 moveindex 5
  11 MOVE: S-l4
  12 moveindex 6
  13 MOVE: s-d4
  14 moveindex 7
  15 MOVE: S-p10
  16 moveindex 8
  17 MOVE: s-q6
  18 moveindex 9
  19 MOVE: S-d5
  20 moveindex 10
  21 MOVE: s-c4
  22 moveindex 11
  23 MOVE: S-e4
  24 moveindex 12
  25 MOVE: s-e5
  26 moveindex 13
  27 MOVE: S-e6
  28 moveindex 14
  29 MOVE: s-f5
  30 moveindex 15
  31 MOVE: S-g5
  32 moveindex 16
  33 MOVE: s-f4
  34 moveindex 17
  35 MOVE: S-e3
  36 moveindex 18
  37 MOVE: s-g3
  38 moveindex 19
  39 MOVE: S-h2
  40 moveindex 20
  41 MOVE: s-g6
  42 moveindex 21
  43 MOVE: S-h5
  44 moveindex 22
  45 MOVE: s-g2
  46 moveindex 23
  47 MOVE: S-f3
  48 moveindex 24
  49 MOVE: s-g4
  50 moveindex 25
  51 MOVE: S-c3
  52 moveindex 26
  53 MOVE: s-d3
  54 moveindex 27
  55 MOVE: S-f6
  56 moveindex 28
  57 MOVE: s-b5
  58 moveindex 29
  59 MOVE: S-c6
  60 moveindex 30
  61 MOVE: s-d15
  62 moveindex 31
  63 MOVE: S-d12
  64 moveindex 32
  65 MOVE: s-j4
  66 moveindex 33
  67 MOVE: S-h4
  68 moveindex 34
  69 MOVE: s-h3
  70 moveindex 35
  71 MOVE: S-i3
  72 moveindex 36
  73 MOVE: s-e2
  74 moveindex 37
  75 MOVE: S-j3
  76 end
  77 

functions

uservar

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

mline

Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => s-p17 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => S-j10 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => s-p4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => S-h16 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => s-d17 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => S-l4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => s-d4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => S-p10 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => s-q6 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => S-d5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => s-c4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => S-e4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 13 [move] => s-e5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 7 ) [13] => MoveLine Object ( [movenum] => 14 [move] => S-e6 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 15 [move] => s-f5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 8 ) [15] => MoveLine Object ( [movenum] => 16 [move] => S-g5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 17 [move] => s-f4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 9 ) [17] => MoveLine Object ( [movenum] => 18 [move] => S-e3 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 19 [move] => s-g3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 10 ) [19] => MoveLine Object ( [movenum] => 20 [move] => S-h2 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 21 [move] => s-g6 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 11 ) [21] => MoveLine Object ( [movenum] => 22 [move] => S-h5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 23 [move] => s-g2 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 12 ) [23] => MoveLine Object ( [movenum] => 24 [move] => S-f3 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 25 [move] => s-g4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 13 ) [25] => MoveLine Object ( [movenum] => 26 [move] => S-c3 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 27 [move] => s-d3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 14 ) [27] => MoveLine Object ( [movenum] => 28 [move] => S-f6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 29 [move] => s-b5 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 15 ) [29] => MoveLine Object ( [movenum] => 30 [move] => S-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 31 [move] => s-d15 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 16 ) [31] => MoveLine Object ( [movenum] => 32 [move] => S-d12 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 33 [move] => s-j4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 17 ) [33] => MoveLine Object ( [movenum] => 34 [move] => S-h4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 35 [move] => s-h3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 18 ) [35] => MoveLine Object ( [movenum] => 36 [move] => S-i3 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 18 ) [36] => MoveLine Object ( [movenum] => 37 [move] => s-e2 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 19 ) [37] => MoveLine Object ( [movenum] => 38 [move] => S-j3 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 19 ) )

allmoves

Array ( [0] => moveindex 37;MOVE: S-j3 [1] => moveindex 36;MOVE: s-e2 [2] => moveindex 35;MOVE: S-i3 [3] => moveindex 34;MOVE: s-h3 [4] => moveindex 33;MOVE: S-h4 [5] => moveindex 32;MOVE: s-j4 [6] => moveindex 31;MOVE: S-d12 [7] => moveindex 30;MOVE: s-d15 [8] => moveindex 29;MOVE: S-c6 [9] => moveindex 28;MOVE: s-b5 [10] => moveindex 27;MOVE: S-f6 [11] => moveindex 26;MOVE: s-d3 [12] => moveindex 25;MOVE: S-c3 [13] => moveindex 24;MOVE: s-g4 [14] => moveindex 23;MOVE: S-f3 [15] => moveindex 22;MOVE: s-g2 [16] => moveindex 21;MOVE: S-h5 [17] => moveindex 20;MOVE: s-g6 [18] => moveindex 19;MOVE: S-h2 [19] => moveindex 18;MOVE: s-g3 [20] => moveindex 17;MOVE: S-e3 [21] => moveindex 16;MOVE: s-f4 [22] => moveindex 15;MOVE: S-g5 [23] => moveindex 14;MOVE: s-f5 [24] => moveindex 13;MOVE: S-e6 [25] => moveindex 12;MOVE: s-e5 [26] => moveindex 11;MOVE: S-e4 [27] => moveindex 10;MOVE: s-c4 [28] => moveindex 9;MOVE: S-d5 [29] => moveindex 8;MOVE: s-q6 [30] => moveindex 7;MOVE: S-p10 [31] => moveindex 6;MOVE: s-d4 [32] => moveindex 5;MOVE: S-l4 [33] => moveindex 4;MOVE: s-d17 [34] => moveindex 3;MOVE: S-h16 [35] => moveindex 2;MOVE: s-p4 [36] => moveindex 1;MOVE: S-j10 [37] => moveindex 0;MOVE: s-p17 )

movelist

1. s-p17 1... S-j10 2. s-p4 2... S-h16 3. s-d17 3... S-l4 4. s-d4 4... S-p10 5. s-q6 5... S-d5 6. s-c4 6... S-e4 7. s-e5 7... S-e6 8. s-f5 8... S-g5 9. s-f4 9... S-e3 10. s-g3 10... S-h2 11. s-g6 11... S-h5 12. s-g2 12... S-f3 13. s-g4 13... S-c3 14. s-d3 14... S-f6 15. s-b5 15... S-c6 16. s-d15 16... S-d12 17. s-j4 17... S-h4 18. s-h3 18... S-i3 19. s-e2 19... S-j3

constants

Array ( )