In C I am used to doing such things as:
- Code: Select all
switch (var) {
case 'a':
call_function_a();
break;
case 'b':
call_function_b();
case c:
call_function_c();
break;
}
In that example, if "var" is 'a', then function a is called. If it is 'c', then function c is called. However, if it is 'b', then both functions b and c are called. Obviously, like that it's pretty pointless, but put some sizeable chunks of code in those case blocks, and you have a very powerful tool.
I see nothing in the Select...Case of FW that allows this - the break is implicit in all case blocks whether you want it or not it seems. I guess it could be fudged using a (ugh) goto... :/
