Because you do not want the ELSE part to be executed if the second if is false - only if the first if is false.
You could of course add a "if (pc != c)" inside the else-branch instead, but that's less logical.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.