Else If Command
The Else If command is a mix of an If command and an Else command. Using else if is the same as using else{if(){};};.
if(1 == 2){
log("Ummm.")
};
else if(1 == 1){
log("1=1");
};
The Else If command is a mix of an If command and an Else command. Using else if is the same as using else{if(){};};.
if(1 == 2){
log("Ummm.")
};
else if(1 == 1){
log("1=1");
};