Problem with importing a module

BlitzMax Forums/BlitzMax Programming/Problem with importing a module

Scott Shaver(Posted 2006) [#1]
I've built a module that contains the following lines:

Const Inf:Double = 9999.0^9999.0
Const Nan:Double = (-1.0)^(0.5)

but when I try to import it into a project I get:

Compile Error
Invalid Import Identifier: '.'

and it goes to the following lines in the foo.debug.win32.i file:

Inf!=1.#INF!
Nan!=-1.#IND!

Is there a way around this?


Chris C(Posted 2006) [#2]
you could argue that should be reported as a bug...


Scott Shaver(Posted 2006) [#3]
could a moderator please this tis to the bugs section?


simonh(Posted 2006) [#4]
Is there a way around this?

Change it from a Const to a Global?