common code patterns
jerry at jhjensen.com
Thu Aug 10 14:12:07 EDT 2017
Switch constructs without breaks are almost like having a 21st century “goto”. You can really make a mess if you try.
> On Aug 10, 2017, at 10:57 AM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> On the other hand, it would prevent the common (mostly newbie?) mistake where you forget to break and the switch statements run amok. I reported a bug back in the MetaCard days and was gently reminded that I was an idio... um... in error.
More information about the Use-livecode