Import problem

BlitzMax Forums/BlitzMax Beginners Area/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.

Hi, i have a problem with importing files.

In my main.bmx file i import all the files from my project.

Strict
Import "file1.bmx"
Import "file2.bmx"
Import "file3.bmx"


When i want to use type or function from file1 in file2 i had also to import file1 in file2. so far everithing is okay, but if i want to use stuff from file1 in file2 and stuff from file2 in file1 i got allways the "Dublicate Identifier Error". What can i do against this?.