Re: SWITCH question
- Posted by irv Dec 31, 2017
- 2152 views
Perhaps there's no flaw in the switch statement, but there certainly is in its error reporting.
Being able to correctly report an error if certain conditions exist in one particular order, but crashing with a segfault if the same conditions exist in a different order is inconsistent, and not very helpful to the programmer.
IOW, not what is expected from Euphoria.