>IF OneCondition IS TRUE > do the code here > >and don't process other case statements. >>I completely forgot and this took a lot of my time before I finally understood it.
SWITCH x NOAUTOEXIT CASE 1: WAIT WINDOW "This code will have been executed if x were 1" CASE 2: WAIT WINDOW "This code will have been executed if x were 1, or 2" CASE 3: WAIT WINDOW "This code will have been executed if x were 1, 2, or 3" EXIT ENDSWITCH