Switch / Case

I know I have asked for this over the years, but it would clean up and improved readability somewhat messy if else else … end if code blocks for various scenarios. With no optimizations it would still be more readable then the big if else blocks, and with ever minor optimizations could be a big performance improvement over them.

It’s an interesting idea, but we’re not planning any major changes to the core BrightScript language right now. The last syntactical change was support for line breaks in OS 15.3, and new utility functions are being added to roUtils instead of the global namespace.