Syntax Error on line 3
MOVE: s-f7 is not a valid expression, because s-f7 is not a recognized piece, coordinate, command, or subroutine.
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: pass 2 moveindex 1 3 MOVE: s-f7 4 moveindex 2 5 MOVE: S-e5 6 moveindex 3 7 MOVE: s-b1 8 moveindex 4 9 MOVE: S-g5 10 moveindex 5 11 MOVE: s-f5 12 moveindex 8 13 MOVE: S-f6 14 moveindex 9 15 MOVE: s-f4 16 moveindex 10 17 MOVE: S-d4 18 moveindex 11 19 MOVE: s-c3 20 moveindex 12 21 MOVE: S-c5 22 moveindex 13 23 MOVE: s-a9 24 moveindex 14 25 MOVE: S-h6 26 moveindex 15 27 MOVE: s-d7 28 moveindex 16 29 MOVE: S-b6 30 moveindex 17 31 MOVE: s-c8 32 moveindex 18 33 MOVE: S-f3 34 moveindex 19 35 MOVE: s-h4 36 moveindex 20 37 MOVE: S-e7 38 moveindex 21 39 MOVE: s-g8 40 moveindex 22 41 MOVE: S-b8 42 moveindex 23 43 MOVE: s-b9 44 moveindex 24 45 MOVE: S-a8 46 moveindex 25 47 MOVE: s-b7 48 moveindex 26 49 MOVE: S-a7 50 moveindex 27 51 MOVE: s-a6 52 MOVE: a7- 53 MOVE: a8- 54 MOVE: b8- 55 moveindex 28 56 MOVE: S-g4 57 moveindex 29 58 MOVE: s-c6 59 moveindex 30 60 MOVE: S-d6 61 moveindex 31 62 MOVE: s-b5 63 MOVE: b6- 64 moveindex 32 65 MOVE: S-e4 66 MOVE: f4- 67 MOVE: f5- 68 moveindex 33 69 MOVE: s-g3 70 moveindex 34 71 MOVE: S-d8 72 moveindex 35 73 MOVE: s-d9 74 moveindex 36 75 MOVE: S-f8 76 moveindex 37 77 MOVE: s-h5 78 moveindex 38 79 MOVE: S-e9 80 moveindex 39 81 MOVE: s-h9 82 moveindex 40 83 MOVE: S-g7 84 MOVE: f7- 85 moveindex 41 86 MOVE: s-i6 87 moveindex 42 88 MOVE: S-h3 89 end 90functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => pass [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => s-f7 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => S-e5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 4 [move] => s-b1 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 5 [move] => S-g5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 3 ) [5] => MoveLine Object ( [movenum] => 6 [move] => s-f5 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 7 [move] => S-f6 [level] => 1 [comment] => [length] => 9 [newturn] => 1 [turn] => 4 ) [7] => MoveLine Object ( [movenum] => 8 [move] => s-f4 [level] => 1 [comment] => [length] => 11 [newturn] => [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 9 [move] => S-f6 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 4 ) [9] => MoveLine Object ( [movenum] => 10 [move] => s-f4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 4 ) [10] => MoveLine Object ( [movenum] => 11 [move] => S-d4 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 5 ) [11] => MoveLine Object ( [movenum] => 12 [move] => s-c3 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 5 ) [12] => MoveLine Object ( [movenum] => 13 [move] => S-c5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 6 ) [13] => MoveLine Object ( [movenum] => 14 [move] => s-a9 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 6 ) [14] => MoveLine Object ( [movenum] => 15 [move] => S-h6 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 7 ) [15] => MoveLine Object ( [movenum] => 16 [move] => s-d7 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 7 ) [16] => MoveLine Object ( [movenum] => 17 [move] => S-b6 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 8 ) [17] => MoveLine Object ( [movenum] => 18 [move] => s-c8 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 8 ) [18] => MoveLine Object ( [movenum] => 19 [move] => S-f3 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 9 ) [19] => MoveLine Object ( [movenum] => 20 [move] => s-h4 [level] => 0 [comment] => [length] => 9 [newturn] => [turn] => 9 ) [20] => MoveLine Object ( [movenum] => 21 [move] => S-e7 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 10 ) [21] => MoveLine Object ( [movenum] => 22 [move] => s-g8 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 10 ) [22] => MoveLine Object ( [movenum] => 23 [move] => S-b8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 11 ) [23] => MoveLine Object ( [movenum] => 24 [move] => s-b9 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 11 ) [24] => MoveLine Object ( [movenum] => 25 [move] => S-a8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 12 ) [25] => MoveLine Object ( [movenum] => 26 [move] => s-b7 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 12 ) [26] => MoveLine Object ( [movenum] => 27 [move] => S-a7 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 13 ) [27] => MoveLine Object ( [movenum] => 28 [move] => s-a6; a7-; a8-; b8- [level] => 0 [comment] => [length] => 25 [newturn] => [turn] => 13 ) [28] => MoveLine Object ( [movenum] => 29 [move] => S-g4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 14 ) [29] => MoveLine Object ( [movenum] => 30 [move] => s-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 14 ) [30] => MoveLine Object ( [movenum] => 31 [move] => S-d6 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 15 ) [31] => MoveLine Object ( [movenum] => 32 [move] => s-b5; b6- [level] => 0 [comment] => [length] => 15 [newturn] => [turn] => 15 ) [32] => MoveLine Object ( [movenum] => 33 [move] => S-e4;f4-;f5- [level] => 0 [comment] => [length] => 16 [newturn] => 1 [turn] => 16 ) [33] => MoveLine Object ( [movenum] => 34 [move] => s-g3 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 16 ) [34] => MoveLine Object ( [movenum] => 35 [move] => S-d8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 17 ) [35] => MoveLine Object ( [movenum] => 36 [move] => s-d9 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 17 ) [36] => MoveLine Object ( [movenum] => 37 [move] => S-f8 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 18 ) [37] => MoveLine Object ( [movenum] => 38 [move] => s-h5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 18 ) [38] => MoveLine Object ( [movenum] => 39 [move] => S-e9 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 19 ) [39] => MoveLine Object ( [movenum] => 40 [move] => s-h9 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 19 ) [40] => MoveLine Object ( [movenum] => 41 [move] => S-g7;f7- [level] => 0 [comment] => [length] => 12 [newturn] => 1 [turn] => 20 ) [41] => MoveLine Object ( [movenum] => 42 [move] => s-i6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 20 ) [42] => MoveLine Object ( [movenum] => 43 [move] => S-h3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 21 ) )allmoves
Array ( [0] => moveindex 42;MOVE: S-h3 [1] => moveindex 41;MOVE: s-i6 [2] => moveindex 40;MOVE: S-g7; MOVE: f7- [3] => moveindex 39;MOVE: s-h9 [4] => moveindex 38;MOVE: S-e9 [5] => moveindex 37;MOVE: s-h5 [6] => moveindex 36;MOVE: S-f8 [7] => moveindex 35;MOVE: s-d9 [8] => moveindex 34;MOVE: S-d8 [9] => moveindex 33;MOVE: s-g3 [10] => moveindex 32;MOVE: S-e4; MOVE: f4-; MOVE: f5- [11] => moveindex 31;MOVE: s-b5; MOVE: b6- [12] => moveindex 30;MOVE: S-d6 [13] => moveindex 29;MOVE: s-c6 [14] => moveindex 28;MOVE: S-g4 [15] => moveindex 27;MOVE: s-a6; MOVE: a7-; MOVE: a8-; MOVE: b8- [16] => moveindex 26;MOVE: S-a7 [17] => moveindex 25;MOVE: s-b7 [18] => moveindex 24;MOVE: S-a8 [19] => moveindex 23;MOVE: s-b9 [20] => moveindex 22;MOVE: S-b8 [21] => moveindex 21;MOVE: s-g8 [22] => moveindex 20;MOVE: S-e7 [23] => moveindex 19;MOVE: s-h4 [24] => moveindex 18;MOVE: S-f3 [25] => moveindex 17;MOVE: s-c8 [26] => moveindex 16;MOVE: S-b6 [27] => moveindex 15;MOVE: s-d7 [28] => moveindex 14;MOVE: S-h6 [29] => moveindex 13;MOVE: s-a9 [30] => moveindex 12;MOVE: S-c5 [31] => moveindex 11;MOVE: s-c3 [32] => moveindex 10;MOVE: S-d4 [33] => moveindex 9;MOVE: s-f4 [34] => moveindex 8;MOVE: S-f6 [35] => moveindex 5;MOVE: s-f5 [36] => moveindex 4;MOVE: S-g5 [37] => moveindex 3;MOVE: s-b1 [38] => moveindex 2;MOVE: S-e5 [39] => moveindex 1;MOVE: s-f7 [40] => moveindex 0;MOVE: pass )movelist
1. pass 1... s-f7 2. S-e5 2... s-b1 3. S-g5 3... s-f5 | 4. S-f6 | 4... s-f4 4. S-f6 4... s-f4 5. S-d4 5... s-c3 6. S-c5 6... s-a9 7. S-h6 7... s-d7 8. S-b6 8... s-c8 9. S-f3 9... s-h4 10. S-e7 10... s-g8 11. S-b8 11... s-b9 12. S-a8 12... s-b7 13. S-a7 13... s-a6; a7-; a8-; b8- 14. S-g4 14... s-c6 15. S-d6 15... s-b5; b6- 16. S-e4;f4-;f5- 16... s-g3 17. S-d8 17... s-d9 18. S-f8 18... s-h5 19. S-e9 19... s-h9 20. S-g7;f7- 20... s-i6 21. S-h3constants
Array ( )