if ((is not in area A)|| (is not in area
{
do stuff.
}
But it didn't work properly. So I switched the code to this:
if ((is not in area A)&&(is not in area
{
do stuff.
}
and it worked.
To me this is confusing because the first one seems to say if it isn't area A or B then do stuff, and the second seems to say if it isnt area A and B (which seems impossible) then do stuff.
Can anyone explain this to me?





Retour en haut







