Re: SWITCH question

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

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.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu