difference between Include and Import?

BlitzMax Forums/BlitzMax Beginners Area/difference between Include and Import?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Wait, so that means it executes right at the exact time it is "included." That is not good for me. What if I wanted to load it in memory and execute it in the main loop?
I plan on using separate code files for user input, graphics/sound setup, etc. and as such, when I include a file which is supposed to test input, it needs to be ran repeatedly as in a loop. Putting the INCLUDE/IMPORT code in the main loop just seems incorrect to me.

There HAS to be another way.

Fortunately, the way you want to do it, is exactly the way to do it, and the way you don't want to do it, is the way you shouldn't do it. :)