common code patterns

J. Landman Gay jacque at hyperactivesw.com
Thu Aug 10 13:57:02 EDT 2017


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.

--
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On August 10, 2017 12:39:44 PM Bob Sneidar via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Ooooh... Ah, but then someone will complain about occassionally having to 
> delete the break.
>
> Bob S
>
>
>> On Aug 10, 2017, at 10:30 , J. Landman Gay via use-livecode 
>> <use-livecode at lists.runrev.com> wrote:
>>
>> How about every time I write a "case" statement inside a switch construct, 
>> the editor adds a blank line and then "break"?
>>
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list