Importing code

BlitzMax Forums/BlitzMax Beginners Area/Importing code

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 take it that the files are actually named A.bmx, B.bmx and C.bmx. If so then the correct thing to do would be to put the following into your main file A.bmx:
Import "B.bmx"
Import "C.bmx"

That's how I do it. There doesn't appear to be a problem with the order of definitions in the respective files.