Re: SWITCH question
- Posted by _tom (admin) Jan 05, 2018
- 1977 views
I made a start on re-writing the description of the switch statement.
http://openeuphoria.org/wiki/view/Updated%20Documentation.wc
problem one
There are three possible error messages reported for having duplicate case values in a switch statement. I also got different results (same example) using OE on a 32-bit and 64-bit computers.
Something to do with parsing and error reporting? Ugly but not serious?
problem two
A real mystery in how a constant formed from std/stack.e crashes the switch statement. JD suggests a pointer problem.
Not a trivial bug.
_tom