Actually Brucey, you're right. Totally right. I didn't really got the
That's right, I only just realized you can do that and it will really work just like a module import.
As the fact of not being able to keep my source files in my own directory was my inly personal concern (I'm not concerned by the out of the box thing), it perfectly solves my problem. And actually it solves the out of the box thing too.
So, sorry for the fuss.
For what it's worth, I had done a test to check if the Import "bla.bmx" made any change, and it failed. Obviously I must have done something really stupid. And the uncommon idea of "importing a source file" didn't help to realize that.
I just wished the docs were anywhere close to explicit about this. It would have required a single line in the docs to save me from the trouble.
And I don't even know if the code will actually be recompiled everythime. I'll have to test for curiosity sake (though I don't care).
Import "mystuff.bmx"part until just now.
That's right, I only just realized you can do that and it will really work just like a module import.
As the fact of not being able to keep my source files in my own directory was my inly personal concern (I'm not concerned by the out of the box thing), it perfectly solves my problem. And actually it solves the out of the box thing too.
So, sorry for the fuss.
For what it's worth, I had done a test to check if the Import "bla.bmx" made any change, and it failed. Obviously I must have done something really stupid. And the uncommon idea of "importing a source file" didn't help to realize that.
I just wished the docs were anywhere close to explicit about this. It would have required a single line in the docs to save me from the trouble.
And I don't even know if the code will actually be recompiled everythime. I'll have to test for curiosity sake (though I don't care).
I guess I don't see what the fascination is with using "Include"...
There has never been any fascination. Give me the ability to remove the syntax error on the import statement AND to keep my files in my own folder and I'm happy. That's precisely what I got, so everything's fine.