Switch versus if/then/else ( was: Main menu puzzle, Klaus)

Glenn E. Fisher gefisher at mac.com
Sun Feb 19 11:10:06 EST 2006


Hi revers,

As a historical note, (I'm a very old programmer since 1962) back when 
I was writing compilers and emulators in B and C in the line editing 
mode ;-), the switch case statements were really needed.  In these 
kinds of programs many many cases was the norm and the nested 
if..then..else just didn't cut it.  So it depends on the scope of the 
problem which is the best.

Just my ole two cents,
Glenn
--
Glenn E. Fisher	University of Houston - Retired
22402 Diane Dr.	Spring, Tx 77373
gfisher4 at houston.rr.com 	http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher



More information about the use-livecode mailing list