Exit Switch or break switch question

Mark Wieder mwieder at ahsoftware.net
Thu Mar 20 14:15:29 EDT 2008


> 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 

More information about the Use-livecode mailing list