Hi, my current project has multiple source files and I have a constant that is in several of the source files, used by several functions.
all the source files are to be imported in the main file.
e.g.
This when compiled gives a duplicate identifier error. Is there anyway round this, apart from using different names for the const?
Cheers.
all the source files are to be imported in the main file.
e.g.
filea.bmx const COMPLETE : int = 1 fileb.bmx const COMPLETE : int = 1 main.bmx import "filea.bmx" import "fileb.bmx" const COMPLETE : int = 1
This when compiled gives a duplicate identifier error. Is there anyway round this, apart from using different names for the const?
Cheers.