Exit Switch or break switch question

Stephen Barncard stephenREVOLUTION2 at barncard.com
Thu Mar 20 15:46:11 EDT 2008


I've used "exit switch" myself... then 'cleaned it up' later...   for 
no reason... but it works.

>Tom-
>
>>  If I want to leave a switch statement after successfully matching a  case
>>  is it better to break and rund to the end without a default  statement or
>>  to exit the switch from that case?
>
>
>Yikes! I had no idea the compiler would accept "exit switch"! I'm sure it
>compiles it as an alias for "break". Where in the world did you come up with
>this weird syntax?
>
>--
>  Mark Wieder
>  mwieder at ahsoftware.net

-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -






More information about the Use-livecode mailing list