I always seem to have trouble getting the right balance on if statements which contain AND's and OR's.
whats wrong with this
IF (Env[j] == 1 && POPinit[i][j] == 1 || Env[j] == 1 && POPinit[i][j] == 4)
basically TRUE when Env = 1 and POPinit is a 1 or 4 aswell.
But it doesn't seem to work at all any ideas?