scope problem

new topic     » topic index » view thread      » older message » newer message

Hi all, I need help with a scope problem in my Euphoria program, a fantasy combat game that I am making. I have global constants defined in one of my include files to act as symbols for sequence indexes. I have a function in another include file which takes this sequence as a parameter. The problem is that even though the 2nd include includes the first, the function can't "see" them, so I get a undefined symbol type error. The only way I see to fix this is to copy the constants (without global) into the second include file, but this seems like an ugly kludge. There must be a "proper" way to do this.

Thanks.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu