![]() |
#11
|
|||
|
|||
![]()
yes both work, the difference notwithstanding a little more complex with a void and switch, is it catches the half completed case for your outcome, and also you could add more triggers, like switch(column) for cases of 3, 4, 5, 6 and so on then do different things at different levels.
In this way you can also have other trigger results interact with main counter. Case selection can be more useful when you want it more flexible for different outcomes. A bool is true or false, so you really have only 2 states or maybe an elseif as a third. bool true and falses can end up in sequential if statements and you can trap yourself Last edited by Smokeynz; 03-14-2012 at 10:42 PM. |
|
|