Declaring variables mid-function changes results

BlitzMax Forums/BlitzMax Programming/Declaring variables mid-function changes results

Because it's standard to do that, and it makes the code easier to read.

And obviously the answer to your problem is there's a bug in the compiler. You'll just have to work around it.