Exit Switch or break switch question

Thomas McGrath III 3mcgrath at comcast.net
Thu Mar 20 14:35:28 EDT 2008


Mark,

I saw it in a sample stack and have used it since. grin

So, You're saying Break is the way to go. period.

All four characters of it!

Thanks

Tom


On Mar 20, 2008, at 2:15 PM, Mark Wieder wrote:

> 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
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list