Global arrays

BlitzPlus Forums/BlitzPlus Programming/Global arrays

the code looked like this
include functions here...

dim array(10)
...etc...

function example()
  array(0) = 10
end function


It was becuase the functions were at the top, the complier hadn't read the definition of the array, hence it thought that it didn't exist.

Now that I have included all extra files at the bottom of the code, everything is fine.