Hi,
when I DIM an array with a custom type in an #include(d) file then try and access it from the main source I get the following error:
Array 'jobs' subscripts must match corresponding DIM statement on line 32
The #include is a gosub to
+ Code Snippet type job
walkrange
maxhealth
endtype
dim jobs[10] as job
jobs[1].walkrange = 3
And the main.agc line that spits the error is
I don't know if this is a bug or my own failings.
Many thanks