In this tutorial I am going to explain how does the function "switch" works and how to use it. It is used when you have to use a lot of "if"s, to reduce the ammount of "if"s you use this switch. See the comparison below:
number = randomIntRange( 1, 5 );
if( number == 1 )
a = 1...