Re: Can't use global/public constant in switch/case ?
- Posted by mattlewis (admin) Feb 16, 2011
- 1267 views
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