Imports that Import?

BlitzMax Forums/BlitzMax Programming/Imports that 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.

I am sort of taking a wild guess here that it is possible to Import a source file that imports a module which has already been imported into the main program. (It is, right?).

Will this hurt my file size at all?

Here is a horrible diagram of what I am looking to do:

Main.bmx
	Import bleh.myMod
	Import "Addon.bmx"
	Import "AnotherAddon.bmx"

Addon.bmx
	Import bleh.myMod

AnotherAddon.bmx
	Import bleh.myMod

(It gets worse and more convoluted yet, but generally like that)


What I am worried about is BlitzMax not being clever and instead winding up with 3 instances of bleh.myMod. Should I not be worried, or should I be terrified?