|
I am trying to create a trigger that has 4 different things that can happen based on the state in which the trigger is in. Can this be done with If, else, else, else? or is there a better way to do it? Answer - self found.. yes but needs to be else if for each else except the last.. example.. Answer found at http://www.w3schools.com
(comments are locked)
|
|
For something like that I would use a switch statement.
(comments are locked)
|
|
I believe using if or else is enough. ^^
(comments are locked)
|

Have solved question myself.