Variable declaration on source file

Previous topic - Next topic

erico

Now I know better.
I can´t declare globals on subs and I moved all my global declarations to a sub (only globals in this game). Hence I get those warnings.
So it is just a matter of moving the variable declarations to the main source.

It is actually just a test on using multiple sources, they are not quite independent to be really useful elsewhere.
The code gets organized though, that is really nice. :good: Hopefully o good first step into coding better.

Thanks again for all hints!

mentalthink

Thanks Kano I get note for this trick... Thanks...