Question
Combining && and ||
Is this a viable piece of script?
if (((variable1a == true) || (variable1b == true)) && ((variable2a == true) || (variable2b == true)) && (variable3 == true) && (variable4 == true)) {
//insert code here
I wasn't sure if you can combine all those and/or statements like that?
if (((variable1a == true) || (variable1b == true)) && ((variable2a == true) || (variable2b == true)) && (variable3 == true) && (variable4 == true)) {
//insert code here
I wasn't sure if you can combine all those and/or statements like that?
