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

Scott Kane scott at proherp.com
Sun Feb 19 00:42:22 EST 2006


> Yes, but do you think in these terms in day-to-day life?

No.  But (apart from some languages that optimize due to the
use of case statements - not sure if Rev does) it is a heck
of a lot easier to read code later in a case statement (in
Rev a Switch) than it is to read if/then/else in complex
code structures.

Scott





More information about the use-livecode mailing list