NO the file is not include twice.
You can include the same file as many time as you want
in your code, but at the compilation will only scan
the first one that shows up in the code (starting from the
top, of course).
What I said above is useful when you have variables in your
main program (local), for example arrays, and when you
jump to the next level you can call a gosub to the
included file so your variables can be reset or re-dimension
in case of arrays...
If an include only have Globals + Types + Functions, then
it doesn't matter where you "include" it in the code... globals things are just detected everywhere...
Paolo.
You can include the same file as many time as you want
in your code, but at the compilation will only scan
the first one that shows up in the code (starting from the
top, of course).
What I said above is useful when you have variables in your
main program (local), for example arrays, and when you
jump to the next level you can call a gosub to the
included file so your variables can be reset or re-dimension
in case of arrays...
If an include only have Globals + Types + Functions, then
it doesn't matter where you "include" it in the code... globals things are just detected everywhere...
Paolo.