16
Bug Reports / Re: Possible bugs with new Reformat Code at compile time option.
« on: 2009-Feb-21 »
I tried your code and if I type it as presented, that is with the function declaration before the main code I get
"DeclarationTest.gbas"(17) error : command not inside function or sub
I have noticed this before. It appears that you must place all function definitions after the main loop? - well that is my observation.
If I put the function definition after the main loop your code compiles and runs with no errors (in debug mode at least).
Hope this was of some help
"DeclarationTest.gbas"(17) error : command not inside function or sub
I have noticed this before. It appears that you must place all function definitions after the main loop? - well that is my observation.
If I put the function definition after the main loop your code compiles and runs with no errors (in debug mode at least).
Hope this was of some help