Private

BlitzMax Forums/BlitzMax Beginners Area/Private

Hardcoal(Posted 2013) [#1]
Ive tried to use private first time and i dont get it.

ive managed to read a global value from an included file which has aPRIVATE deceleration on the top of the code.

how come?


Henri(Posted 2013) [#2]
Hello,

you are probably using "include" which don't work as you'd expect as it's the same as copy/paste the contents of other file at this spot. You have to use "import" which is more conditional and only takes those parts from the other file that are needed.

-Henri


Hardcoal(Posted 2013) [#3]
Hmmm ok interesting ill try