Jupp but the only existing workaround to do this
Invaders_Data:
// Set up a type for invaders
type invade
// position x and y
x as integer
y as integer
// is it active
active as integer
// what does it score when shot
score as integer
// what sprit is it using
sprite as integer
endtype
// what direction are the invaders moving
Global invaderdirection=1
// Set movement speed
Global invaderspeed=3
//create dimension to allow for 55 invaders 11x5
global dim invaders[55] as invade
return
Now do we simply put this after the include command gosub Invaders_Data
And everything runs fine and compiles a lot cleaner
all include files are read at the end and throws you errors if you don't use a gosub with types
I can tell you its neaded in larger projects later on ......
Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz