S
Scott C. Reynolds
In VB6 you could do a SELECT CASE that would evaluate each case for
truth and execute those statements, such as:
SELECT CASE True
case x > y:
dosomestuff()
case x = 5:
dosomestuff()
case y > x:
dosomestuff()
END SELECT
such that if x were 5 and y were 3, it would execute both statements
that evaluated to true.
I have found no way to do the same or similar using Switch. Is there any?
truth and execute those statements, such as:
SELECT CASE True
case x > y:
dosomestuff()
case x = 5:
dosomestuff()
case y > x:
dosomestuff()
END SELECT
such that if x were 5 and y were 3, it would execute both statements
that evaluated to true.
I have found no way to do the same or similar using Switch. Is there any?