If statements vs case

J. Landman Gay jacque at hyperactivesw.com
Sun Feb 25 22:34:59 EST 2007


Richard Gaskin wrote (regarding "case" staements):
> I 
> don't know if the literature supports that anecdotal observation, but 
> since most languages include case there must be good value in it.
> 

I keep hearing it runs faster than if/else statements. I don't know if 
that's true. Anyway, I'm like you and Sarah, if I have more than two or 
three alternatives I use case statements just because they are easier 
for me to scan.

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



More information about the use-livecode mailing list