ick on ralph, and how about if we just get rid of case/switch, and tell
everyone to use if/else if/else/end if
On Thu, Aug 10, 2017 at 2:28 PM, Richard Gaskin via use-livecode <
> FWIW I'm with Jacque on this one. Not only are exclusive blocks far more
> common in practice, they're also explicit - you can see the work "BREAK"
> right at the end of the case block.
> If a template doesn't include that explicit guidance, I fear for the
> experience of new users confused by how their code flows (not to mention
> old-timers who either forget to add "BREAK" or wonder why it isn't put
> there with the rest of the supplied code).
> Richard Gaskin
> Fourth World Systems
> J. Landman Gay 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.
>> 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"?
> use-livecode mailing list
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription