Posted: 13th Jun 2013 00:17
Sorry to put water on the fire of your enthusiasm, but the compiler has a lot of strange behaviour:
This is not compiled:
dim levelPuzzle[12] = [0,9,9,8,8,7,7,7,6,5,4,3,2]
This is compiled:
dim levelPuzzle[12] =[0,9,9,8,8,7,7,7,6,5,4,3,2]
This is not compiled
dim levelPuzzle[12] as integer=[0,9,9,8,8,7,7,7,6,5,4,3,2]
This is compiled
dim levelPuzzle[12]=0,9,9,8,8,7,7,7,6,5,4,3,2
This is compiled
dim gameName$[3] as string = "","Classic Sudoku","Puzzle Sudoku","Arcade Sudoku"
This is not compiled
dim gameName$[3] = "","Classic Sudoku","Puzzle Sudoku","Arcade Sudoku"
Other strange things? Here you are:
This is not compiled:
cast_sprite=cast_sprite_left or cast_sprite_right or cast_sprite_center or (oy#>=94) or (omino.idx_mobile<>0) or (isOminoIntoFire)]/code]
This is compiled changing oy#>=94 into not ( oy#< 94)
cast_sprite=cast_sprite_left or cast_sprite_right or cast_sprite_center or ( not ( oy#<94) ) or (omino.idx_mobile<>0) or (isOminoIntoFire)
The compiler is still in an unpredictable state, it is of utmost importance to fix the compiler. Otherwise AppGameKit T1, in my opinion, is useless.