Import Problem

BlitzMax Forums/BlitzMax Programming/Import Problem

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 have got another problem with import.

i have three files: main.bmx, src/a.bmx, src/b.bmx

main.bmx
Import "src/a.bmx"
.
.
.



src/a.bmx
Import "src/b.bmx" 

Type TypeA
   Field bla:TypeB
.
End Type



src/b.bmx

Type TypeB
.
.
End Type


The problem is now that to compile src/a.bmx the import
command should look like this : Import "b.bmx"
but to compile main.bmx correctly it should be : Import "src/b.bmx"

So you can't use sources in other folders with bmax and thats not very good.