Re: Can't use global/public constant in switch/case ?

new topic     » goto parent     » topic index » view thread      » older message » newer message
AndySerpa said...

If using a global or public constant(s) declared in another file in a switch statement, it won't resolve. Is this known?

No, that should work. I've created ticket:617 for this issue.

As a work around, you can use qualified references (i.e., use a namespace qualifier).

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu