Syntax Error on line 1

MOVE: s-k1 is not a valid expression, because s-k1 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-k1
   2 moveindex 1
   3 MOVE: S-d4
   4 moveindex 2
   5 MOVE: s-d3
   6 moveindex 3
   7 MOVE: S-c3
   8 moveindex 4
   9 MOVE: s-e3
  10 moveindex 5
  11 MOVE: S-c5
  12 moveindex 6
  13 MOVE: s-e4
  14 moveindex 7
  15 MOVE: S-j3
  16 moveindex 8
  17 MOVE: s-b3
  18 moveindex 11
  19 MOVE: S-c2
  20 moveindex 12
  21 MOVE: s-b1
  22 moveindex 13
  23 MOVE: S-b4
  24 moveindex 14
  25 MOVE: s-a2
  26 moveindex 15
  27 MOVE: S-e5
  28 moveindex 16
  29 MOVE: s-d2
  30 moveindex 17
  31 MOVE: S-c1
  32 moveindex 18
  33 MOVE: s-d1
  34 moveindex 19
  35 MOVE: S-f5
  36 end
  37 

functions

uservar

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

mline

Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => s-k1 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => S-d4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => s-d3 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => S-c3 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => s-e3 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => S-c5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => s-e4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => S-j3 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => s-b3 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 5 ) [9] => MoveLine Object ( [movenum] => 10 [move] => S-c2 [level] => 1 [comment] => [length] => 11 [newturn] => [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 11 [move] => S-b1 [level] => 1 [comment] => [length] => 9 [newturn] => 1 [turn] => 6 ) [11] => MoveLine Object ( [movenum] => 12 [move] => S-c2 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 5 ) [12] => MoveLine Object ( [movenum] => 13 [move] => s-b1 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 6 ) [13] => MoveLine Object ( [movenum] => 14 [move] => S-b4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 6 ) [14] => MoveLine Object ( [movenum] => 15 [move] => s-a2 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 7 ) [15] => MoveLine Object ( [movenum] => 16 [move] => S-e5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 7 ) [16] => MoveLine Object ( [movenum] => 17 [move] => s-d2 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 8 ) [17] => MoveLine Object ( [movenum] => 18 [move] => S-c1 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 8 ) [18] => MoveLine Object ( [movenum] => 19 [move] => s-d1 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 9 ) [19] => MoveLine Object ( [movenum] => 20 [move] => S-f5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 9 ) )

allmoves

Array ( [0] => moveindex 19;MOVE: S-f5 [1] => moveindex 18;MOVE: s-d1 [2] => moveindex 17;MOVE: S-c1 [3] => moveindex 16;MOVE: s-d2 [4] => moveindex 15;MOVE: S-e5 [5] => moveindex 14;MOVE: s-a2 [6] => moveindex 13;MOVE: S-b4 [7] => moveindex 12;MOVE: s-b1 [8] => moveindex 11;MOVE: S-c2 [9] => moveindex 8;MOVE: s-b3 [10] => moveindex 7;MOVE: S-j3 [11] => moveindex 6;MOVE: s-e4 [12] => moveindex 5;MOVE: S-c5 [13] => moveindex 4;MOVE: s-e3 [14] => moveindex 3;MOVE: S-c3 [15] => moveindex 2;MOVE: s-d3 [16] => moveindex 1;MOVE: S-d4 [17] => moveindex 0;MOVE: s-k1 )

movelist

1. s-k1 1... S-d4 2. s-d3 2... S-c3 3. s-e3 3... S-c5 4. s-e4 4... S-j3 5. s-b3 | 5... S-c2 | 6. S-b1 5... S-c2 6. s-b1 6... S-b4 7. s-a2 7... S-e5 8. s-d2 8... S-c1 9. s-d1 9... S-f5

constants

Array ( )