Re: SWITCH question
- Posted by _tom (admin) Jan 05, 2018
- 1914 views
irv said...
It appears that the docs are slightly misleading:
...
Perhaps the docs could be improved to make this distinction clearer, as well as emphasizing the fact that you should never use duplicate switch cases. Apparently, I haven't run across that particular problem in real life, because I'm too lazy to type the same case ... twice.
The docs are http://openeuphoria.org/wiki/view/Updated%20Documentation.wc
My suggestion is WRITE COMMENTS DIRECTLY INTO THE WIKI DOCS, ANYTHING UNCLEAR HAS TO BE FIXED.
My other observation with this "std/stack.e" example is that if you compile, then the example it works.
_tom