I'm trying to do the following:
if (x) {
// then this
} else if (calcDifference = 7) && (currentCMSI = 7) { // problem line
// then this
} else if {
// then this
}
Or this:
if (x) {
// then this
} else if (calcDifference = 7 && currentCMSI = 7) { // problem line
// then this
} else if {
// then this
}
But I keep getting errors, what's the correct syntax for comparing if 2 different variables are both true in an else if statement?